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
|Chelsea 1 Norwich City 1 (aet, 5-3 pens): Hazard and Caballero seal Blues progression|
|No generosity from Neymar as Cavani waits to make PSG history|
|Neymar sets Ligue 1 landmark with staggering individual display|
|Espanyol 1 Barcelona 0: Melendo ends unbeaten run|
|Paris Saint-Germain 8 Dijon 0: Neymar hits four as Cavani levels Ibrahimovic record|
|Atletico fan in ´serious condition´ after being stabbed before Sevilla game|
|Stokes ´can´t wait´ for England return after ECB clearance|
|Kawhi Leonard´s rehab shut down as quad problem lingers|
|Folger out of MotoGP season due to illness|
|Stokes should not take my place - Bairstow|
|Atletico Madrid 1 Sevilla 2: Montella´s men stage dramatic first-leg comeback|
|Steelers will not retain offensive coordinator Todd Haley|
|Lukaku will score 30 goals for Man Utd this season, predicts Yorke|
|Brady named writers´ NFL MVP|
|Du Plessis wants action on slow pitches|
|Johnson back to his best after Augusta accident|
|Liverpool loan Grujic to Cardiff|
|Centurion hero Ngidi aiming high|
|Mbappe: More to come from Neymar & Cavani partnership|
|Messi the greatest ever despite no World Cup win, insists Di Maria|
|Uncapped Larmour named in Ireland´s Six Nations squad|
|Villa determined to earn place in Spain´s World Cup squad|
|Walcott swaps Arsenal for Everton|
|Kohli bristles at selection questions|
|England forward Haskell handed four-week suspension|
|You even learn from Guardiola at home - Otamendi lauds Pep impact|
|Three-week ban for Bastareaud for alleged homophobic slur|
|IOC to consider joint Korean ice hockey team|
|Sri Lanka ODI woes drag on with Zimbabwe defeat|
|Batsmen let India down against South Africa - Kohli|
|Five fun facts as LeBron James chases 30K career points|
|Bastareaud named in France squad ahead of disciplinary hearing|
|Otamendi pens Man City deal to 2022|
|Neymar leads tributes to retiring Ronaldinho|
|Ronaldo must focus on playing - Zidane sidesteps exit talk|
|Dimitrov, Tsonga survive gruelling battles as Nadal cruises through|
|Carey ton sends Strikers back top of BBL|
|Zidane still an idol for James despite ´sad´ Madrid exit|
|Stoger will stay at Dortmund if ´everything fits´|
|Nadal backs move for financial parity but silent on boycott talk|
|Stokes available for England selection, set for NZ return|
|Bordeaux´s Malcom facing disciplinary action over social media video|
|Debutant Ngidi hurries SA to series win as India crumble in Centurion|
|Eddie Jones signs new England contract|
|Ronaldinho retires – The greatest Brazilians to play for Barcelona|
|England setting the benchmark in ODIs, says Warner|
|Federer would be unreal at any sport - Shapovalov|
|Athletic reward Williams with contract until 2025|
|Nadal too good for Mayer at Australian Open|
|Jones taking unlikely inspiration from City in United´s title pursuit|
|I had one foot out of the Australian Open – Wozniacki revels in fightback|
|Beware the nearly beaten in Melbourne – Wozniacki could match Kerber, Li|
|Rallying Tsonga outlasts Shapovalov in five-set epic|
|Wozniacki saves two match points in dramatic Aus Open comeback|
|Kostyuk, 15, ready to spend after Melbourne run|
|Thomas turns down Celtics´ video tribute|
|Moyes unaware of Chelsea interest in Carroll|
|Verdi wants Bologna stay amid Napoli links|
|Ronaldinho retires – A shining light of Brazil´s 2002 World Cup-winning team|
|Ronaldinho retires – a World Cup and Ballon d´Or among Brazil great´s prizes|
|Celtics great White dead at 71|
|World Cup glory and Bernabeu magic - Ronaldinho´s best moments for Barca and Brazil|
|Trust the Process – 76ers only behind Warriors and Cavs in merchandise sales|
|Ligue 1 Review: Balotelli at the double as Payet shines and Malcom toils|
|Pato still dreaming of World Cup selection|
|FA Cup Review: Iheanacho makes VAR history, kit confusion reigns|
|Wallaby saves wallaby: Farr-Jones in Sydney Harbour Bridge rescue mission|
|2016-17 UEFA Study: PSG, Man City drive record-breaking spending|
|Conte packing in homework as Chelsea games stack up|
|2016-17 UEFA Study: The headlines in transfers, wages and revenues|