Alto de l'Angliru - Chris Froome virtually secured overall victory in the Vuelta a Espana on Saturday by extending his lead over Vincenzo Nibali as Alberto Contador won the 20th queen stage in his final race before retirement.
Barring disaster in Sunday's parade around the centre of Madrid, Froome, who now holds a lead of 2min 15secs over Nibali, will become just the third rider in history to win the Tour de France and Vuelta in the same year.
"What a way to end a massive three weeks of racing," said Froome. "For me having completed the Tour-Vuelta double now it's an amazing feeling."
Home favourite Contador sealed a dream send-off by claiming the first stage win of the race by a Spaniard in a time of 3hr 31min 33sec for the 117.5km from Corvera de Asturias to Alto de l'Angliru.
A three-time former winner, Contador, 34, claimed his sixth career Vuelta stage victory as he distanced the race leaders at the start of the brutal climb up Angliru.
"There could be no better ending than this," said an emotional Contador.
"This morning I was clear that this was my day, that I had to say goodbye in this way.
"There has been no better moment or place than this to say goodbye."
However, he just missed out on climbing onto the podium as he moved up to fourth overall.
Russia's Ilnur Zakarin leapfrogged Dutch rider Wilco Kelderman into third.
Froome was again well protected by his Sky team in the chasing group behind, before attacking himself two kilometres from the finish line to take third on the stage behind teammate Wout Poels.
"That was such a tough climb," added Froome, who also shed a tear as he was embraced by his team at the finish line.
"We did everything to try and catch Alberto, but he was too strong today.
"Congratulations to him because to finish his career like this is beautiful."
With his fifth Grand Tour win of his career, Froome will join Frenchmen Jacques Anquetil (1963) and Bernard Hinault (1978) as the only riders to win the Tour and Vuelta in the same year.
But the Briton is the first man to win both races since the Vuelta was moved to after the Tour in the racing calendar in 1995.
Nibali's hopes of launching a challenge for the leader's red jersey were undermined by a minor crash on a sharp descent before the climb to Angliru began as the Italian finished 34 seconds behind Froome in sixth.
Results and overall standings after the Vuelta a Espana 20th stage, a 117.5km ride from Corvera to Alto de l'Angliru on Saturday:
1. Alberto Contador (ESP/TRE) 3hr 31min 33sec, 2. Wout Poels (NED/SKY) at 17sec, 3. Chris Froome (GBR/SKY) 0:17, 4. Ilnur Zakarin (RUS/KAT) 0:35, 5. Franco Pellizotti (ITA/BAH) 0:51, 6. Vincenzo Nibali (ITA/BAH) 0:51, 7. Steven Kruijswijk (NED/LNL) 0:51, 8. Wilco Kelderman (NED/SUN) 1:11, 9. Romain Bardet (FRA/ALM) 1:25, 10. Michael Woods (CAN/CAN) 1:36, 11. Richard Carapaz (ECU/MOV) 1:46, 12. Mikel Nieve (ESP/SKY) 2:15, 13. Gianni Moscon (ITA/SKY) 3:16, 14. Tejay Van Garderen (USA/BMC) 3:43, 15. Louis Meintjies (RSA/UAE) 3:56, 16. Miguel Angel Lopez (COL/AST) 3:56, 17. Enric Mas (ESP/QST) 3:56, 18. Marc Soler (ESP/MOV) 3:56, 19. Diego Rosa (ITA/SKY) 4:12, 20. Simon Yates (GBR/ORI) 4:18
1. Chris Froome (GBR/Sky) 79hr23min 37sec, 2. Vincenzo Nibali (ITA/BAH) at 2:15, 3. Ilnur Zakarin (RUS/KAT) 2:51, 4. Alberto Contador (ESP/TRE) 3:11, 5. Wilco Kelderman (NED/SUN) 3:15, 6. Wout Poels (NED/SKY) 6:45, 7. Michael Woods (CAN/CAN) 8:16, 8. Miguel Angel Lopez (COL/AST) 8:59, 9. Steven Kruijswijk (NED/LNL) 11:04, 10. Tejay Van Garderen (USA/BMC) 15:36, 11. Esteban Chaves (COL/ORI) 16:32, 12. Louis Meintjies (RSA/UAE) 17:15, 13. Fabio Aru (ITA/AST) 21:27, 14. Nicolas Roche (IRL/BMC) 21:46, 15. Sergio Pardilla (ESP/CJR) 22:45, 16. Mikel Nieve (ESP/SKY) 27:16, 17. Romain Bardet (FRA/ALM) 31:07, 18. Daniel Moreno (ESP/MOV) 42:02, 19. Sander Armee (BEL/LOT) 58:47, 20. Darwin Atapuma (COL/UAE) 1h02:44