Roger Federer overcame a stern test from Alexander Zverev to progress to the semi-finals of the ATP Finals with a three-set win on Tuesday.
With Jack Sock having beaten Marin Cilic earlier in the day, the Australian Open and Wimbledon champion knew he would clinch a place in the last four with victory,
Zverev has charged sharply up the rankings and now sits at third in the world, and the 20-year-old's contest with the 19-time grand slam winner was billed as a battle between the master and the apprentice.
It was the master who prevailed on this occasion, but only after he had received a significant examination from the German in what was the fifth match out of six at the season-ending showpiece to go the distance, with Federer eventually prevailing 7-6 (8-6) 5-7 6-1.
Zverev now must win his final clash in Group Boris Becker with Sock to seal his spot in the last four.
If an illustration of the challenge Zverev presents was needed, it was provided when Federer was forced to save three break points in the opening game, the Swiss then seeing one go begging in the subsequent game.
The fact that an exasperated Federer shouted, 'Come on!' as early as the fifth game after winning a point to go 40-30 ahead was a further compliment to Zverev, who summoned his resolve to withstand a late barrage, saving two set points in his last service game to force a tie-break.
He then raced into a 4-0 lead in the breaker, only for Federer to rattle off eight of the next 10 points - saving a set point in the process - to forge ahead.
Federer hit 17 winners to his opponent's 10 in the first set and it looked as if he would canter to a routine victory when he broke in the first game of the second courtesy of a lifeless Zverev drop shot before holding to love.
But again Zverev's admirable resilience came to the fore, a poor Federer volley giving him enough room to nail a forehand down the line and get the set back on serve.
Some strong serving and a deft backhand volley stopped Zverev from claiming the double break at 4-3 up, but Federer's backhand escaped him in the final game of the set.
Zverev surged into a 40-0 lead and, after seeing two break points squandered, clinched the third when Federer sent a cross-court shot wide at the end of a superb rally.
However, an errant cross-court backhand from the 20-year-old gave Federer the initiative and a 2-1 lead in the third, and this time there was no way back.
The double break came in short order as Zverev's forehand fell apart in the fifth game and, though Federer's serve came under some pressure in the next, he made no mistake in progressing to the semis for the 14th time in 15 tournament appearances.
Federer  bt Zverev  7-6 (8-6) 5-7 6-1
Federer – 26/38
Zverev – 20/45
BREAK POINTS WON
Federer – 4/8
Zverev – 2/11
FIRST SERVE PERCENTAGE
Federer - 53
Zverev - 63
PERCENTAGE OF POINTS WON ON FIRST/SECOND SERVE
Federer - 83/54
Zverev - 73/43
Federer - 109
Zverev - 96
|Skriniar sees himself at Inter ´for many years´|
|Pogba, Martial start for Manchester United as Chelsea bring back Morata|
|Aluko under consideration as Neville offers Sampson critics ´clean slate´|
|Inter did not invent Icardi injury, Spalletti insists|
|Gilberto Silva: Wilshere´s mental strength key to success|
|Lewandowski: Agent change nothing to do with ´funny´ Real Madrid talk|
|Barcelona´s Semedo facing five weeks out with hamstring injury|
|Winter Olympics 2018: Bjoergen takes record-equalling gold as Norway top medal table|
|Dier has no regrets over Manchester United snub|
|No scorpion kick for Ospina as he relishes Wembley final|
|Pepperell holds on for maiden title in Qatar|
|Kante: Chelsea can take confidence from Barca draw|
|Mierzejewski magic fires Sydney FC to derby glory|
|Taylor and Santner spoil Stokes comeback|
|´Best in history´ Messi lauded by Coutinho, Busquets|
|I enjoy living this way! - Aubameyang won´t change lavish lifestyle|
|Kohli rested for Nidahas Trophy|
|QB Bortles signs contract extension with Jaguars|
|Shohei Ohtani has mixed results in MLB debut|
|Mustafi wary of De Bruyne threat in EFL Cup final|
|Chumba and Dibaba reign supreme at Tokyo Marathon|
|Curry, Durant help Warriors dominate Westbrook´s Thunder|
|Coman suffers ankle injury in Bayern draw|
|I was right to turn down Man City move in 2016, says Laporte|
|Tiafoe wins two matches in a day to reach Delray Beach final|
|Navas not surprised by Ronaldo´s Benzema gesture|
|Ausilio: Contract talks with Inter´s Icardi done in silence|
|Mourinho tells McTominay to follow his heart amid international headache|
|I play for France´s biggest club – Marseille star Payet fires barb at PSG|
|Clippers owner says team traded Griffin for ´chemistry´ reasons|
|Ben Stokes returns to face New Zealand in opening ODI|
|Main priority was to win - Spalletti praises Inter´s ´heart´ after beating Benevento|
|Verdasco to meet Schwartzman in Rio Open final|
|Father fuels Conte´s fire ahead of Mourinho reunion|
|Tiger Woods shoots first sub-70 round since 2015|
|Valverde steers clear of Barcelona yellow card controversy|
|Montpellier pull clear of Racing in Top 14|
|Connacht bring Benetton back to earth|
|Butler suffers meniscus injury but Timberwolves ease ACL fears|
|Play like it´s a friendly - Guardiola reveals finals secret ahead of Arsenal clash|
|Barcelona equal record for unbeaten LaLiga run|
|Jones fronts up after Scotland smash England|
|Wales disappoint Gatland: We were the creators of our own demise|
|Inter 2 Benevento 0: Nerazzurri pick up much-needed win at San Siro|
|Barcelona 6 Girona 1: Suarez treble and Messi masterclass settle Catalan clash|
|Messi makes Girona 36th LaLiga victims to set new record|
|Nigeria demolish Rwanda in FIBA qualifying|
|Jonker shines but India still seal T20 series|
|Deeney ´not bothered´ after ending drought from open play|
|Tigers back to business after Hardaker departure|
|Championship Review: Fulham beat Wolves, Sunderland hold Boro in ill-tempered thriller|
|Lions bounce back to win, Schoeman leaves it late for Bulls|
|Russell eyes Six Nations title after inspiring Scotland to win over England|
|Watford 1 Everton 0: Stunning Deeney finish moves hosts six clear of trouble|
|Benitez rues missed chances as Newcastle lose two-goal lead|
|Heynckes ´can live´ with home Bayern draw|
|Ronaldo is a team player - Zidane hails Real Madrid star´s Benzema gesture|
|West Ham fans reference Hitler in protest at club´s owners|
|Dyche dismayed by decisions before Gabbiadini goal|
|Russell´s redemption comes as Scotland seal rare England win|
|Wagner impressed with Huddersfield´s commitment after vital win|
|No place like home for Schmidt as Ireland leave it late to sink Wales|
|Liverpool win had everything – Klopp enthuses over West Ham´s Anfield rout|
|Khachanov sets up Pouille final after Berdych upset|
|Dunk equals record for own goals in a single Premier League season|
|Chiefs return to winning ways in thriller|
|Real Madrid 4 Alaves 0: Ronaldo at the double as ´BBC´ delight|
|Burnley 1 Southampton 1: Gabbiadini grabs late leveller|
|Brighton and Hove Albion 4 Swansea City 1: Two-goal Murray helps end Swans´ unbeaten run|
|Bournemouth 2 Newcastle United 2: Hosts in thrilling fightback after Gayle double|