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
|We will see what happens in the future - Silva non-committal on Everton rumours|
|Stones can bounce back stronger - Kompany|
|Racing climb above Toulon in thriller|
|Football needs to do more to combat racism - Boateng|
|Watford 2 West Ham 0: Misery for Moyes on Hammers bow|
|Unlucky 13: Benevento suffer record-breaking defeat|
|Juventus lost composure amid Sampdoria onslaught - Allegri|
|Exeter capitalise on Saracens defeat to top Premiership|
|Race to Dubai winner Fleetwood hails ´biggest day of my career´|
|Dutch Grand Prix a ´realistic´ prospect from 2020|
|Sampdoria 3 Juventus 2: Champions slip further off the pace after thriller|
|Coleman confirmed as Sunderland boss|
|I was just injured - Belgium´s Nainggolan blasts ´stupid´ claims of feigned ailment|
|Leeds United 2 Middlesbrough 1: Losing streak snapped to ease pressure on Christiansen|
|Ioane and Romano to miss All Blacks´ Wales clash|
|One punch only! Tete retains world title with 11-second knockout|
|Hughes backs Giggs for Wales job|
|Bennett: Social media clip prompted Brown withdrawal|
|Memorable Ashes Moments: Anderson and Panesar defy Australia in Cardiff|
|Madrid confirm Ramos´ broken nose after derby clash|
|Kane wants to retire with Tottenham|
|Mourinho: Man United lacked balance with attacking line-up|
|Fleetwood wins Race to Dubai after Rose wilts, Rahm claims tournament win|
|Pastore not considering PSG exit to help World Cup chances|
|Wenger, Ozil & Sanchez uncertainty affecting Arsenal, says Seaman|
|Dhawan, Rahul lead India revival in Kolkata|
|Silva not surprised by Chelsea, Spurs interest in Richarlison|
|Ancelotti, Conte, Allegri on shortlist to replace Ventura|
|Bencic doubles up with Taipei title|
|Perth Glory 0 Melbourne Victory 2: Visitors claim first A-League win of season|
|Bayliss calls for A-team matches on Ashes tours|
|Smith will bowl in the Ashes, says Lehmann|
|Marcelo unaware of Ramos-Ronaldo rift at Real Madrid|
|England book Tonga semi with PNG win|
|Celtics win 15th straight, 76ers in collapse against Warriors|
|Lehmann tells Australia: Get behind the Ashes team|
|Goffin revels in career-best win after upstaging Federer|
|Neymar will take PSG´s next penalty - Cavani|
|Ranieri would consider coaching Italy|
|It´s been an amazing year - Federer signs off for 2017 after London exit|
|Postecoglou set for decision on Socceroos future|
|Celtics coach Stevens wants more despite 14-game streak|
|Kerr: What Embiid did against the Lakers was terrifying|
|Cook extends lead at RSM Classic|
|Frampton beats Garcia by unanimous decision in front of Canelo|
|Championship Review: Millwall deny sloppy Sunderland, Wolves back on top|
|Simeone rallies around under-fire Griezmann|
|Hogg and Barclay ´gutted´ to let All Blacks escape|
|It´s a growth process - Montella optimistic despite Napoli loss|
|Spalletti happy at Inter, tips Ancelotti for Italy job|
|Sarri defends sacked Ventura over Insigne´s Italy snub|
|Los Blank-os! Misfiring Real Madrid break new ground under Zidane|
|Zidane upbeat despite derby stalemate|
|Zidane unsure on Ramos absence with suspected broken nose|
|Mind the gap! Real Madrid must make history to retain LaLiga title|
|Dimitrov denies Sock to book Goffin showdown|
|Springboks gain measure of revenge over 2023 RWC hosts France|
|Alonso fuels Le Mans talk with WEC rookie test|
|Napoli 2 AC Milan 1: Insigne stars after Italy snub as leaders move four points clear|
|Atletico Madrid 0 Real Madrid 0: Defences dominate in historic derby|
|Wasps sting Falcons, Warriors off the mark|
|Montpellier take charge of Top 14 as Lyon slip up|
|Pjaca scores winner for Juventus Primavera on return from injury|
|Jones bristles at suggestion England ´got lucky´|
|Lions don´t recover like humans! - Ibrahimovic and Pogba thrilled to be back|
|Pogba was different class - Mourinho praises midfielder after impressive comeback|
|Competition is good – PSG boss Emery explains benching Mbappe|
|Klopp apologises after Moreno misses birth of child|
|Experimental Ireland XV survives Fiji scare|
|Cheika makes no excuses after controversial calls hurt Australia|