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
|Maradona: Messi doesn´t have to prove himself by winning World Cup|
|Cavs tally worst defensive half of season against Raptors|
|McIlroy, Johnson stunned on day one in Austin|
|Cristiano Ronaldo hasn´t asked to leave Real Madrid amid China links – Perez|
|Oakland Athletics allowing fans to pick price of tickets, all proceeds to charity|
|Ginobili: Spurs not expecting Kawhi Leonard to return this season|
|Trout, Angels brass confident Shohei Ohtani will be a star|
|Osaka wanted to impress Serena with stunning Miami Open win|
|Manchester United apply for professional women´s team|
|Bolt hopes fellow Jamaican breaks his world record|
|Bolt a fan of Ronaldo, but compares his talent to Messi´s|
|Outstanding Osaka knocks out Williams in Miami opener|
|Del Potro ´tired´ heading into Miami Open|
|Heynckes definitely leaving at end of season, claims Ze Roberto|
|Joshua tells Wilder to be ´realistic´ in negotiations|
|Shaw issue a distraction from Manchester United´s failures, says Neville|
|Hamsik withdraws from Slovakia squad|
|RFU backs Jones despite awful Six Nations|
|Hamilton eyes Melbourne pole record, 100 club for Vettel? - Australian GP in numbers|
|Griezmann backs Pogba to prove doubters wrong for France|
|Sanchez ´expected something better´ from Manchester United move|
|WATCH: Thomas conjures up great escape in Austin|
|Javi Martinez in the dark over Spain squad omission|
|Jones should have managed England workload - Flood|
|Giggs feeling the tension ahead of Wales debut|
|Juventus confirm Alex Sandro thigh injury|
|Hart praises ´loyal guy´ Southgate amid World Cup axe fears|
|Windies singing in the rain as they clinch World Cup spot|
|I miss Morata, says recalled Costa|
|I can improve even more at Manchester City - Bernardo Silva|
|Neymar will be fit for the World Cup, insists Ronaldo|
|Costa thinks Griezmann will stay at Atletico Madrid|
|Third DRS zone added for Australian Grand Prix|
|Ferdinand worried by England´s World Cup striker options|
|Hamilton an F1 great - Fittipaldi|
|Stam leaves Reading after wretched run|
|Neymar is great, we´ll see if he joins Real Madrid – Asensio|
|Appalling racism must stop - Inglis|
|Maguire tips ´nightmare´ Vardy to replace injured Kane|
|Red Bull duo: Mercedes still the team to beat|
|Wait and see - Root refuses to confirm new-ball role for Broad|
|Malcom ready to leave Bordeaux and chase Bayern ´dream´|
|Surprised Smith says Rabada appeal verdict draws ´line in the sand´|
|Asensio insists Zidane was not unfair to him|
|Griezmann wants future resolved before World Cup|
|F1 2018: Hamilton v Vettel - the race for five titles|
|Nocerino wants Conte return after Italy´s World Cup ´disaster´|
|Celtics capitalise on Thunder meltdown, Harden scores 42 points|
|Jason Day hungry to reclaim top ranking: My game is close|
|Iconic 2002 World Cup haircut was media distraction, reveals Ronaldo|
|New Zealand star Taylor fit for day-night Test|
|Teenager Anisimova to face Muguruza in Miami|
|McIlroy credits Wayne Rooney for improved putting|
|Stokes return a ´huge boost´ for England – Root|
|Wright: Difficult for Liverpool sensation Salah to resist Real Madrid|
|Yaya Toure yet to report for international duty, confirm Ivory Coast|
|Masters favouritism could hinder Woods, Thomas claims|
|I wish I could still play with him – Ortiz on Red Sox addition Martinez|
|Morrison confirms plans to play for Jamaica|
|Warriors target Friday return for Curry against Hawks|
|Starc and Marsh set to play at Newlands|
|Red alert: Richard Sherman ´excited´ to be a 49er|
|Germany should be proud to have Sane, says Tah|
|Bertrand out of England friendlies with back injury|
|Optimistic McIlroy ´crossed that line´ with Bay Hill win|
|Young backs Mourinho over Shaw treatment|
|BVBolt? Athletics great scores header while training in Dortmund kit|
|Fekir will look to leave Lyon the right way, says agent|
|Ex-Springboks coach Meyer takes charge at Stade|
|Spieth relishing Reed match play showdown|