Caleb Ewan beat his sprinting rivals in suffocating heat to win Stage 16 of the Tour de France on Tuesday, with Frenchman Julian Alaphilippe keeping the race leader's yellow jersey.

With temperatures soaring as high as 40 C (104 F), Alaphilippe and his main rivals did not attack each other over the 177-kilometer mainly flat stage in the Nimes rural hinterland.

More Images
The pack rides next to the Pont du Gard during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

Caleb Ewan beat his sprinting rivals in suffocating heat to win Stage 16 of the Tour de France on Tuesday, with Frenchman Julian Alaphilippe keeping the race leader's yellow jersey.

Britain's Geraint Thomas stands prior to the start of the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

Ewan, a Tour debutant, edged Elia Viviani and Dylan Groenewegen to post his second stage win.

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

Defending champion Geraint Thomas crashed about 40 kilometers after the race started from the Roman city but escaped largely unscathed, with a few scratches on his left elbow.

The pack rides next to the Pont du Gard during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides next to the Pont du Gard during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

Ewan, a Tour debutant, edged Elia Viviani and Dylan Groenewegen to post his second stage win.

Thomas, who is second in the overall standings, had already been caught in pile-ups during the first and eighth stage of the three-week race. Danish rider Jakob Fuglsang, who stood ninth overall, also fell with 28 kilometers left and abandoned the Tour.

More Tour de France coverage: https://apnews.com/TourdeFrance

Britain's Geraint Thomas stands prior to the start of the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

Britain's Geraint Thomas stands prior to the start of the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)

The pack rides during the sixteenth stage of the Tour de France cycling race over 117 kilometers (73 miles) with start and finish in Nimes, France, Tuesday, July 23, 2019. (AP Photo Christophe Ena)