GAP, France -

Portuguese rider Rui Costa won the 16th stage of the Tour de France while Chris Froome maintained his healthy lead over Alberto Contador as both of them survived a downhill scare on Tuesday.

Costa broke away on the last climb of a hilly trek to secure the second stage win of his Tour career, crossing the line 42 seconds ahead of Frenchman Christophe Riblon.

Froome and Contador finished just over 11 minutes behind Costa, who is not considered a contender for overall victory.

The stage started from the Provence village of Vaison-la-Romaine in the heart of Rhone winemaking country, and featured several medium-difficulty climbs along the 168-kilometer (104-mile) route to the Alpine town of Gap.