Primoz Roglic has lost his leading position in the general classification of the Tour de France in the penultimate stage to his fellow countryman Tadej Pogacar.

The Slovenian leader of Jumbo-Visma lost his yellow jersey in a nerve-racking climbing time trial, which was also won by Pogacar.

Roglic started the 36.2 kilometer long chrono race from Lure to the top of La Planche des Belles Filles with a lead of 57 seconds over Pogacar.

The 21-year-old rider of UAE Team Emirates more than made up for that gap.

Thanks to his unleashed performance in the time trial, Pogacar is almost certain of the overall victory in the 107th edition of the Tour.

At 21, he becomes the youngest post-war winner of the French cycling tour.

The Tour will end on Sunday with a flat stage over 122 kilometers with the traditional finish on the Champs-Elysées in Paris.

The chance that that ride will cause shifts in the top of the general classification is nil.

Pogacar ensures that Slovenia becomes the fourteenth country with a Tour victory.

This puts the country on a par with Denmark, Germany, Ireland, Colombia and Australia.