On Stage 17, the first of the three Pyrenean stages, a stage to the summit of the Col de Portet, Thomas extended his lead by placing third behind stage winner Nairo Quintana of Movistar Team. Froome's challenge faded on the approach to the summit and he dropped to third position in the general classification, 2:31 behind Thomas. Dumoulin moved into second place, 1:59 off the lead. On the mountainous stage nineteen from Lourdes to Laruns, Primož Roglič of LottoNL-Jumbo attacked on the final climb, the Col d'Aubisque, and soloed to the finish nineteen seconds ahead of the chasing group of overall favourites. Thomas was able to consolidate his position in the yellow jersey by picking up six bonus seconds in the sprint thereby extending his lead over Dumoulin to 2 minutes, 5 seconds. The penultimate stage was a time trial, Dumoulin won the stage, one second ahead of Froome. Thomas survived a scare when his back wheel locked, but completed the time trial successfully, finishing fourteen seconds behind Dumoulin taking a lead of 1 min 51 s into the final stage. He held the lead all the way to Paris to become only the third ever British, first British-born and first Welsh cyclist to win the Tour de France.