Novak Djokovic beat Juan Martin del Potro in a thrilling Wimbledon semi-final, overcoming the Argentine after four hours and 44 minutes.
Top seed Djokovic and eighth seed Del Potro exchanged the first two sets before Djokovic won a brutal third.
But Del Potro hit back in the fourth-set tie-break to force a deciding set, which Djokovic won to secure a 7-5 4-6 7-6 (7-2) 6-7 (6-8) 6-3 victory.
The match was the longest men's semi-final in Wimbledon history.
The previous longest semi-final was the 1989 encounter between Boris Becker and Ivan Lendl, which Becker won.
The world number one will play either Britain's Andy Murray or Pole Jerzy Janowicz in Sunday's final.
"It was one of the best matches I've been a part of," said Djokovic, winner of the men's singles at Wimbledon in 2011.
"I could not separate us, apart from when I was 2-1 and a break up - and I dropped serve.
"That's why he's a Grand Slam champion. He came up with some top shots, credit to him."
Serbia's Djokovic, who was playing in his 13th consecutive Grand Slam semi-final, is bidding for his seventh major title.
Before Friday's match on Centre Court he led Del Potro 8-3 in head-to-head encounters but was beaten by the Argentine in last year's Olympic bronze-medal match, held at Wimbledon.
Del Potro was not even sure if he would be able to play after aggravating a knee injury in his quarter-final but he held his own for much of the first set.
However, with the score at 6-5 Djokovic, 26, found another gear, managing to break the Argentine for the first time in the tournament.
But Del Potro, the 2009 US Open champion, refused to wilt, breaking his rival to love to lead 4-3 in the second set.
Del Potro, 24, staved off a break point in his next service game and went on to level, to the approval of the Centre Court crowd.
With the score at 3-3 in the third set Del Potro had two break points but netted with a volley on the first and narrowly missed with an attempted backhand pass on the second.
As the match wore on the baseline exchanges became ever more punishing and one scrambled forehand by Del Potro had Djokovic smiling wryly in disbelief.
The Serb was smiling again when Del Potro saved the third of three set points with a heaved forehand that skimmed the baseline.
But it was Del Potro who buckled in the third-set tie-break, which Djokovic secured courtesy of a flicked backhand winner from behind the baseline.
The third set alone took 69 minutes but there was no let-up in the fourth, although some nice moments of levity broke through the tension.
Djokovic broke Del Potro to lead 4-3 in the fourth set only for the Argentine to hit back immediately, securing the break with a backhand winner down the line.
Djokovic reeled off back-to-back return winners to steal a march in the ninth game of the fourth but Del Potro girded his loins and held.
There were some mind-boggling rallies in the fourth-set tie-break, including two match points saved by Del Potro.
And it was Del Potro who came through it, pulling out a fearsome backhand return at 7-6 to force a deciding set.
As the clock passed four hours at the start of the fifth set the crowd, already fevered, would have become even more aware they were witnessing a bona fide Wimbledon classic.
At four hours and two minutes the match became the longest men's semi-final in Wimbledon history but there was much more to come.
Play went with serve until 4-3 in the fifth before Djokovic broke his rival's resolve and gave himself the chance to serve for the match.
Del Potro forced a break point but Djokovic saved and rounded off the win with a threaded backhand down the line.