Magnus Cort Neilsen claimed his second stage win at this year's Vuelta a Espana with victory in the sprint in Cordoba.
The Danish rider was narrowly pipped to the win in stage 11 by Primoz Roglic, but powered to victory on Thursday.
Odd Christian Eiking did enough to retain the leader's jersey, with Guillaume Martin in second overall and Roglic in third.
"Even though I felt the legs a little bit from yesterday, I managed to get over the two climbs," said Cort.
"In the end Jens Keukeleire brought me to the front and positioned me perfectly.
"There were (Michael) Matthews, (Matteo) Trentin and a few other fast guys but we wanted to give it a try. I'm super happy to take this win."
Cort Neilsen takes stage win as Eiking retains red jersey
