Dylan Groenewegen has won stage seven of the Tour de France in Chartres, with Ireland's Dan Martin finishing safely in the bunch.

Martin is now 21st overall, one minute and 30 seconds off the lead which is still held by Belgium's Greg Van Avermaet.  

The Dutchman beat Fernando Gaviria and world champion Peter Sagan in an uphill sprint at the end of the Friday's 231km stage from Fougeres.

It was a first stage win of this Tour for the LottoNL-Jumbo rider and the second of his career after victory on the final stage in Paris last year.

Mark Cavendish looked in good position in the final few hundred metres but appeared to sit up after almost tangling with Sagan, crossing the line in 10th place.