Cervinia - Canada's Ryder Hesjedal, of the Garmin team, claimed the overall leader's pink jersey after Costa Rican Andrey Amador of Movista won the 14th stage of the Giro d'Italia on Saturday.
The Canadian, who was fourth in the stage, now sits 9sec ahead of overnight leader Joaquim Rodriguez of Spain (Katusha), with Astana's Italian rider Paolo Tiralongo in third at 41sec.
Hesjedal was 17sec down on Rodriguez at the start of the wet and cold stage, but finished 26sec ahead of the main peloton.
"I felt good. There was just three kilometres to go, the pink jersey was there to take and so I went for it," the Canadian said.
"I was a little sad when I lost it and so I feel fortunate to pull it back on now. You never know if it's going to be your last day in pink.
"I think I can take time back on anyone in the final time trial in Milan but I'm not thinking that far ahead. I'm where I'm at and that's how I approached the race today.
"I'm going to continue to do that and we'll see what happens at the end of the Giro d'Italia."
Amador, whose mother is Russian, clocked 5hr 33min 36sec over the stage, a testing 206km run from Cherasco to here, boasting two stiff climbs at Joux and Cervinia, with the finish line at over 2,000m altitude.
The Costa Rican was first home in a sprint off with his last two breakaway companions, Czech Jan Barta and Italian Alessandro De Marchi.
It was the 25-year-old Amador's first stage success in four years as a professional cyclist.
Amador had caught up with Barta after the first climb, and then struck out alone, but was himself reeled in on the 27km-long second climb by the Czech and De Marchi.
The Costa Rican said he had bounced back in good time from an annus horribilis in 2011 during which he fractured a collarbone, injured an ankle and "my own problems when some thieves tried to kidnap me".
"At Movistar we're a very united team and our results prove it," he said. "In 2011 I fractured my collarbone while I was getting ready for the Giro.
"I also had an ankle problem while I was preparing for the Tour de France. It was a year to forget. Last winter I changed my training and I'm going well thanks to that."
Amador added: "On this stage, we knew you had to have a big lead before the two big climbs.
"We found ourselves at the foot of the climb with a 13-minute lead. It was doable."
Sunday's 15th stage sees the riders tackle a 169km run from Busto Arsizio and Lecco, with three climbs scheduled before a final 7.8km ascent above Lake Como.
1. Andrey Amador, Costa Rica, Movistar, 5 hours, 33 minutes, 36 seconds.
2. Jan Barta, Czech Republic, NetApp, same time.
3. Alessandro De Marchi, Italy, Androni Giocattoli, 2 seconds behind.
4. Ryder Hesjedal, Canada, Garmin-Barracuda, :20.
5. Paolo Tiralongo, Italy, Astana, :46.
6. Rigoberto Uran Uran, Columbia, Sky Procycling, same time.
7. Joaquin Rodriguez, Spain, Katusha, same time.
8. Thomas De Gendt, Belgium, Vacansoleil-DCM, same time.
9. Michele Scarponi, Italy, Lampre, same time.
10. John Gadret, France, AG2R La Mondiale, same time.
1. Ryder Hesjedal, Canada, Garmin-Barracuda, 59 hours, 55 minutes, 28 seconds.
2. Joaquin Rodriguez, Spain, Katusha, 9 seconds behind.
3. Paolo Tiralongo, Italy, Astana, :41.
4. Sandy Casar, France, FDJ-Big Mat, 1:05.
5. Ivan Basso, Italy, Liquigas, 1:06.
6. Roman Kreuziger, Czech Republic, Astana, 1:07.
7. Benat Intxausti, Spain, Movistar, same time.
8. Rigoberto Uran Uran, Columbia, Sky Procycling, 1:19.
9. Michele Scarponi, Italy, Lampre, 1:20.
10. Domenico Pozzovivo, Italy, Colnago, 1:21.
15. Frank Schleck, Luxembourg, RadioShack-Nissan, 2:20.
18. Damiano Cunego, Italy, Lampre, 2:43.