Dan Martin hit the deck inside the final three kilometres on stage five of the Vuelta a Espana, but the Irishman was credited with the same finishing time as the peleton and remains in second place behind overall leader Primoz Roglic, who crossed the line in fourth as Tim Wellens edged a three-rider sprint in Sabinanigo. 

Wellens held off the challenge of Guillaume Martin (Cofidis Solutions Credits) and Thyman Arensman (Team Sunweb) to take the win on the summit finish for Lotto-Soudal.

Wellens had been able to keep pace with the second large breakaway group, before attacking with Arensman to move clear.

Guillaume Martin eventually joined them in a race for the line, which the Belgian claimed over the final 100m.

"The start was super difficult. I think we went full-gas for two hours," Wellens said to reporters afterwards.

"I was lucky enough to be in the first group. We were not turning super good as there were two riders that were in front of the GC, but then we went away with three and were super-good together.

"I think all three of us were at the same level, but I had the kick and the end that brought me victory."

Leader Roglic (Team Jumbo-Visma) saw his advantage remain at five seconds overall after Martin (Israel Start-Up Nation) was involved in a spill that also saw Jose Joaquin Rojas Gil (Movistar) and David Gaudu (Team Groupama) go down.

Richard Carapaz (Ineos Grenadiers) occupies third spot, 13 seconds back.

Sam Bennett who recorded a stage win on Friday, finished 136th on route not designed to play to his strengths.