Edvald Boasson Hagen won stage 19 of the Tour de France as Chris Froome crossed safely in the pack to retain the yellow jersey with two stages to go.
Norwegian Boasson Hagen has been on the wrong side of two photo finishes so far in this Tour but made certain of victory in Salon-de-Provence as he attacked out of the breakaway with three kilometres to go and soloed to the line.
Nikias Arndt did his best to keep up but the Team Sunweb man came home in second place, five seconds behind.
That all happened a good 12 and a half minutes before the peloton crossed the line, with the contenders taking it relatively easy after two hard days in the Alps.
Froome leads by 23 seconds from Frenchman Romain Bardet and 29 seconds from Colombian Rigoberto Uran going into Saturday's penultimate stage, a 22.5km time trial starting and finishing in Marseille's Velodrome stadium.
Ireland’s Dan Martin and Nicolas Roche both finished safely in the peloton, with Martin sixth in the overall standings.
Team Dimension Data's Boasson Hagen was denied by just six millimetres - or 0.0003 seconds - when Marcel Kittel won stage seven to Nuits-Saint-Georges in the first week of the Tour.
He was then narrowly beaten again by the German on stage 12 to Pau, a victory that would have been all the sweeter for Boasson Hagen's South African-based team as it would have come on Nelson Mandela Day.
A day after the final mountain test, the organisers threw the longest stage of the entire Tour at the riders as they rode 222.5km from Embrun.
Although this stage was listed as flat, Team Sky were eager to avoid it coming to a sprint finish given the technical nature of the final three kilometres - with three sharp bends perhaps inviting a crash if the race was on.
As such, they allowed a 20-man break - also including another ex-Team Sky man in the shape of Ben Swift - to go more than 10 minutes up the road.
It began to fracture inside the final 20km, with Boasson Hagen part of a nine-man group that left Swift and the others behind.
When the 30-year-old kicked again with less than three kilometres to go, Arndt was the only one to respond but the German could not keep up.
Froome is now firmly odds on for a fourth Tour title with Saturday's battle against the clock expected to see him gain further time on his rivals.
The 32-year-old certainly looked in relaxed mood as the peloton cruised along, and he even took time to high-five famed Tour fan Didi the Devil along the way.