(Changes name of race in 2nd para to Tour de l'Avenir from Spanish)
By Alasdair Fotheringham
CASTELLDEFELS, Spain, Sept 6 (Reuters) - Promising young French rider Warren Barguil attacked two kilometres from the finish to ensure a solo victory on stage 13 of the Tour of Spain on Friday as Italy's Vincenzo Nibali retained the overall lead.
The 21-year-old Barguil, winner of the 2012 Tour de l'Avenir - the showcase stage race for young riders - crossed the line seven seconds ahead of Italy's Rinaldo Nocentini and Bauke Mollema of the Netherlands.
"Just getting to ride the Vuelta already was a big satisfaction for a young rider like me but this is the icing on the cake," Barguil told reporters.
"I got caught up in a big crash (on stage 10) and that was the end to my general classification hopes.
"But my sports director kept on saying 'hey, the Vuelta's not over yet' and he was right."
Barguil, whose big ambition is to win a stage on the Tour de France, said he had not been feeling in great shape during the day-long breakaway of 10 riders that culminated in his victory on the tough uphill finish at Castelldefels.
"I was lucky, no rider had any team mates in the break, so we all got tired. Then as I didn't know who was going to be fastest in a final sprint for the line, I decided to go for it from a way out," he said.
With the Vuelta heading into the Pyrenees on Saturday for the first of three stages, Nibali leads Ireland's Nicolas Roche by 31 seconds overall with Spain's Alejandro Valverde third.
"We're moving into the decisive part of the race now and it's impossible the general classification won't change in these hard mountain stages. It's not going to be easy, that's for sure," Nibali told reporters.
The Tour of Spain finishes in Madrid on Sept. 15. (Editing by Alison Wildey)