NAVA, Spain (AP) — Simon Yates recovered the lead of the Spanish Vuelta after pulling away from his title rivals on the final uphill push to win the mountainous 14th stage on Saturday.

Yates withstood repeated attacks from the small group of seven riders first up the first-category Les Praeres summit before the English cyclist opened up a small gap on the final 300 meters of the grueling ascent.

“I chose my moment really well at the very final,” Yates said. “I didn’t look back until it flattened up a bit. I am really happy for the win. I gave it all I could at the end.”

Yates, riding for Michelton-Scott, finished the 171-kilometer (106-mile) stage in nearly 4 1/2 hours and reclaimed the red jersey that he wore from stages 9 to 11.

Valverde is second overall at 20 seconds behind, followed by Movistar teammate Quintana at 25 seconds back. Lopez is fourth, 47 seconds off the pace.

In May, Yates led the Giro d’Italia for 13 days before finally finishing over an hour behind winner Chris Froome.

Jesus Herrada led the Vuelta for the previous two days. Herrada faded fast midway through the stage’s five climbs when Vincenzo Nibali and his Bahrain-Merida team picked up the pace and scattered the peloton.

Michal Kwiatkowski of Team Sky broke away with five other riders early in the stage and went all alone until caught before the last ascent.

The three-week race stays in the northern Picos de Europa mountains on Sunday. The 178-kilometer ride starting in Ribera de Arriba finishes atop the beyond-category Lagos de Covadonga, which is considered an iconic Vuelta summit.

“Tomorrow could be a decisive day,” Valverde said. “It is a hard stage, with a different ascent from today, and it is the last of three days in the mountains. So anything can happen.”