Rafa Nadal's hopes of winning the year-ending ATP Finals for the first time live on after the Spaniard beat defending champion Stefanos Tsitsipas 6-4 4-6 6-2 on Thursday.
The last round-robin match in the London Group had become a straight knockout with both men having lost to Dominic Thiem and beaten Andrey Rublev earlier in the week.
But it was Spaniard Nadal who always appeared the more likely winner despite a lapse which allowed Tsitsipas to extend the contest into a decider at a near-deserted O2 Arena.
After a flurry of service breaks at the start of the third set, the 34-year-old Nadal showed all his experience to pull away and reach the semi-finals for the first time in five years.
As group runner-up behind Austrian Thiem, he will face Daniil Medvedev for a place in the final with the Russian already assured of top spot in the Tokyo Group.
World number one Novak Djokovic plays Alexander Zverev on Friday with the winner to play Thiem in the other semi-final.
"In general this was a very positive match for me," said Nadal, who despite winning 20 Grand Slam titles has only two runners-up places to show for his previous nine appearances at the ATP Finals. "Excited to be in the semi-finals."
Nadal was untouchable on his serve in the first set, losing only five points, and the pressure told on Tsitsipas who was unable to unleash his attacking game.
The Greek fought off break points at 3-3 but at 4-4 he buckled with a double-fault allowing Nadal the chance to serve for the opening set, a task he achieved with successive aces.
Nadal had won his previous 70 matches when winning the first set so Tsitsipas's prospects looked bleak, but he was handed an unexpected lifeline when Nadal hit trouble serving at 4-5.
A well-struck backhand earned Tsitsipas a couple of set points out of the blue and while Nadal saved one with a first serve he then double-faulted to send the match into a decider.
Tsitsipas immediately dropped serve, but broke Nadal again when the Spaniard netted a backhand. The Greek could not seize the initiative, however, and a loose backhand ensured a fourth straight break of serve after only one in the first 19 games.
Nadal then regained his authority to power home.
Tsitsipas, who enjoyed his breakthrough moment here last year when, aged 21, he beat Thiem in the final, was downbeat about his performance.
"I fought hard in the second set but very disappointed with the third, I was rushing and didn't know what I was trying to do honestly. I should have been a bit more clever," he said.
Earlier in the day, Rublev beat Thiem 6-2 7-5 to end his maiden appearance on a high -- earning himself $153,000 for the group win and 200 ranking points in the process.