Peter Sagan won stage 16 of the Tour de France in a photo-finish ahead of Alexander Kristoff, while Chris Froome stayed safe in the yellow jersey.
World champion Sagan took his third stage victory of this Tour by a tiny margin at the end of a 209km stage from Moirans-en-Montagne to Berne.
Llegada a meta de la 16ta del #TDF2016 donde Peter Sagan salió con la victoria.July 18, 2016
Team Sky's Froome was in the leading pack as they crossed the line to ensure he keeps yellow heading into tomorrow's rest day.
Although this was a relatively flat stage ahead of the Alpine challenges to come, the tight technical finish in Berne - which included a sharp cobbled climb two kilometres from the finish - was thought to suit the likes of Sagan and so it proved
However, it was far from straightforward as sprint specialists Marcel Kittel and John Degenkolb survived that late climb alongside Sagan and Kristoff.
Katusha's Kristoff opened up the sprint first and the Norwegian looked to have all the advantage he needed, but Tinkoff's Sagan threw his bike forward at the line and snatched a win which all but ends the competition for the points leaders' green jersey.
Trek-Segafredo's Fabian Cancellara, the 35-year-old Berne native in his final Tour de France, had to settle for sixth place.
Froome crossed the line 13th, alongside his principle rivals for yellow on the same time as the leaders.
Etixx-QuickStep pair Julian Alaphilippe and Tony Martin had animated the day with a breakaway which lasted for 170km and saw them pull almost six minutes clear at one point.
Their advantage began to tick down as they approached the Swiss border, dipping under five minutes as they flew through the checkpoints.
As they approached the outskirts of Berne, Alaphilippe was caught first with Martin sitting up with a wave and a smile 22km from the finish.
Almost as soon as they were reeled in, Lampre-Merida's Rui Costa went clear and built a 15-second lead, but he was hoovered up just inside the 5km banner.