Spain's Dani Moreno (Katusha) broke clear in the final kilometre to win the fourth stage of the Tour of Spain on Tuesday as Italy's Vincenzo Nibali (Astana) regained the overall lead.
Moreno attacked with conviction on the 2km climb to the finish of the 189km ride from Lalin/a Estrada to Fisterra in Galicia to hold off Fabian Cancellara (RadioShack) and Michael Matthews (Orica-GreenEdge), who finished second and third respectively.
"It was a spectacular victory, I am very happy," said Moreno, who just fell short of triumphing in Sunday's second stage, eventually won by Irishman Nicholas Roche.
This year I haven't had as much luck as in the past so right now I am going to enjoy this victory
"I had this stage in mind and I said to Purito (Joaquim Rodriguez) yesterday that I didn't know the climb but that I was going to try and do it.
"This year I haven't had as much luck as in the past so right now I am going to enjoy this victory."
Nibali was part of a group of 21 riders awarded the same time as Moreno that also included overall contenders Alejandro Valverde (Movistar) and Rodriguez (Katusha).
"I am surprised because I didn't got to contest the stage win," said Nibali, who is looking to win his second Tour of Spain after also claiming the Giro d'Italia this year.
"I stayed at the front of the peloton just to avoid risks and control things a bit and in the end I have left with the leader's jersey."
Veteran American Chris Horner (RadioShack), whose victory on stage three saw him wear the leader's red jersey on Tuesday, finished six seconds behind the leading pack to fall three seconds off the lead.
Saxo rider Roche, meanwhile, is a further six seconds back in the overall classification.
The stage didn't really come to life until the final stages as the peloton set a controlled pace throughout the day to prevent significant breakaways.
Nicolas Edet (Cofidis) had been part of an early five-man breakaway and attacked on his own after the short but incredibly steep climb up the Mirador de Ezaro, which included ramps with a 30% gradient.
However, the Frenchman was soon swallowed up the peloton, which then stayed together until the climb to the finish line.
Cancellara showed his hand first but Moreno produced an impressive burst in the final 500 metres to leave the Swiss trailing in his wake.