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
|Curran and Overton added to England ODI squad|
|Hussey fears Australia will be left with ´mental scars´|
|Fabianski swaps Swansea for West Ham|
|Loftus-Cheek ready to replace Alli|
|England are a team now - Rashford|
|Lazaridis calls for Cahill to start against Denmark|
|Arzani and Ryan can play at the highest level, says Bosnich|
|Dust (Ja)pan and brush: Blue Samurai fans clean up in Saransk|
|Lodge reaches agreement over New York attack|
|Gerrard can become a strong manager - Arena|
|Arsenal target Torreira has left for €30m, says Sampdoria chief|
|Murray unsure over Wimbledon participation|
|De Gea has to bounce back from Ronaldo shocker - Bosnich|
|Martinez not looking for perfection|
|Farah´s Wests Tigers return confirmed|
|Cubs get extra-inning win to split doubleheader with Dodgers|
|Denmark will ´struggle´ if Australia stop Eriksen, says Jakobsen|
|Astros´ win streak ends at 12|
|Lahm backs Germany, Low after losing start|
|Messi has all our support – Dybala|
|Strickland apologises for ´stupid decision´ that led to broken hand|
|Five-time Open Championship winner Thomson dies aged 88|
|´Positive´ Pogba not bitter towards media, says Varane|
|Portugal privileged to have ´humble´ Ronaldo, says Pepe|
|Strickland breaks hand punching door after blown save, out for up to eight weeks|
|He will have received good money – Costa delighted by Griezmann extension|
|Kane: Pochettino sent me love hearts after World Cup heroics|
|Nationals place Adams on 10-day DL with broken finger|
|Dybala: I can play alongside Messi|
|Lewandowski: Poland didn´t take enough risks|
|England´s Kane aiming to reach Ronaldo, Messi levels with World Cup performances|
|Kicker given three-year match-fixing ban|
|England confirm Alli thigh injury|
|Federer through, Zverev out in Halle|
|Back on the map and earning letters from ladies, Tabarez embraces Uruguay´s heritage|
|Rampant England rout Australia in record-breaking display|
|Pulisic in right place at Dortmund, says Arena|
|Wilshere confirms Arsenal exit|
|NASCAR at Sonoma: TV schedule, standings, qualifying drivers for Toyota/Save Mart 350|
|Muguruza and Kvitova cruise through in Birmingham|
|Leno among top 10 most expensive goalkeepers|
|Pained Salah unable to halt Russia´s unlikely march|
|Kyrgios downs ´legend´ Murray as Dimitrov and Djokovic progress|
|Neymar pain normal – Coutinho unconcerned by ankle issue|
|Russia 3 Egypt 1: Salah strikes but hosts right on course for last 16|
|We must make Ronaldo less exceptional, says Morocco boss Renard|
|Chandimal handed one-Test ball tampering ban, faces further ICC charge|
|Arsenal sign goalkeeper Leno from Leverkusen|
|Mexico style in Germany win surprised Arena|
|Monaco complete €20m move for Lyon teenager Geubbels|
|Saudi team don´t know cause of aeroplane fire, Pizzi reveals|
|Champions League qualifying draw: Celtic travel to Armenia, Ajax face Sturm Graz|
|I´ve never seen a player win on his own – Santos shrugs off Ronaldo dependence|
|Murray impresses despite narrow defeat on return|
|West Ham land club-record Diop signing|
|El Hadji Diouf hails ´perfect start´ for Senegal|
|Cisse and Senegal give cause for African celebration|
|Carvajal ready to face Iran - Hierro|
|Japan´s World Cup victory over Colombia sparks celebrations on the streets of Tokyo|
|Poland 1 Senegal 2: Good fortune and bad errors hand Africans Group H win|
|England shatter ODI world record with total of 481 against Australia|
|Best yet to come from England hero Kane, says Rashford|
|Salah starts for Egypt against Russia|
|De Jong expects to stay at Ajax|
|Barcelona angered by Pique´s involvement in Griezmann saga|
|Federer begins Halle defence with comfortable Bedene win|
|Tabarez not worried by slow Suarez start|
|Brazil´s Neymar felt pain in his ankle, CBF confirms|
|Griezmann understands Atletico fans´ nerves over Barcelona speculation|
|Queiroz salutes Hierro for uniting Spain|