Istanbul - Serena Williams overcame the emotions which impelled her to smash a racket and earned her a code violation warning before advancing to the verge of the semi-finals of the WTA Championships here on Wednesday.
The 31-year-old American will be the oldest player ever to win the WTA title if she goes all the way, and a new champion earlier became certain when Petra Kvitova, the titleholder from the Czech Republic, withdrew, apparently with a virus.
Williams, the Olympic, US Open and Wimbledon champion, came through 7-6 (7/2), 6-3 against Li Na, the former French Open champion from China, in a a tense, noisy, and surprisingly fraught affair in which she never seemed fully at ease.
Williams was 1-4 down, then let slip a break of serve, and was pegged back to 6-6 in the first set, before surviving the tie-breaker.
She then yelled and scrambled and battled her way through five deuces before winning a pivotal fifth game in the second set.
Her second win here was more a triumph of will than anything else, for she landed less than 50 percent of her first serves - so often her best weapon - dropped service games five times, and needed an hour and 50 minutes before she prevailed.
Certainly Li sometimes returned serve well, and often went for broke with fierce flat-hit drives, which made it hard for Williams to achieve an attacking dominance and often forced her to scramble.
But Williams's unease may also have been caused by lack of match play - until Tuesday she had not competed at all in the six weeks since winning the US Open in New York - or perhaps even uncertainty about her fitness.
The racket-smashing incident occurred during a weird fourth game in which one of the finest servers in the history of the game delivered two successive double faults to go a break down.
But Williams is also one of the most resilient fighters, as well as one of the most dangerous of one-strike attackers, and these tough qualities helped see her through.
She may though need to play better in her remaining group match if she is to maintain her outstanding record against world number one Victoria Azarenka, who may be aching to atone for losing the US Open final from 5-3 up in the final set.
Kvitova meanwhile was not herself during 6-4, 6-1 loss to Agnieszka Radwanska, the Wimbledon runner-up from Poland, in their opening group match Tuesday, ending it angry and tearful.
"After one rally I couldn't breathe, I was shaking all the match, and my stomach felt really funny. If I'm not a hundred percent to compete with these girls at this level I know I can't play."
"I thought at first it was nerves, but normally nerves are gone after the first set. It went on all through the match, so then I thought there was something wrong. That's why I have pulled out."
She has been replaced by Samantha Stosur, the former US Open champion from Australia, who can still qualify for Saturday's semi-finals if she wins the remaining two matches in the white group, against Maria Sharapova, the second seed, and Sara Errani, the French Open runner-up.
Results on Wednesday from the WTA Championships season finale on indoor hard courts at Sinan Erdem Arena (rankings in parentheses):
Serena Williams (3), United States, def. Li Na (8), China, 7-6 (7/1), 6-3.
Victoria Azarenka (1), Belarus, def. Angelique Kerber (5), Germany, 6-7 (11/13), 7-6 (7/2), 6-4.