Mark Cavendish snatched his second victory of the 2016 Tour de France by a matter of inches in Angers.
Andre Greipel punched the air after the pair crossed the line, but the German's celebrations proved misplaced as replays showed Cavendish took it by a whisker.
Cavendish won stage one of the Tour on Saturday to wear the yellow jersey for the first time in his career, and this latest success gives him 28 Tour stage wins, moving him level with Bernard Hinault in second on the all-time list behind Eddy Merckx on 34.
Peter Sagan finished fourth to retain the yellow jersey he took off Cavendish with victory in Sunday's stage.
Dan Martin finished safely in the peloton to maintain his 10th place in the general classification. Sam Bennett, who suffered a heavy crash on Sunday, was 2:03 behind Cavendish and is one place off the bottom in 197th.
Cavendish had been an entire bike length behind Greipel 50 metres from the line but found the speed to come around the Lotto-Soudal rider and claim a superb win by no more than an inch or two, with Brian Coquard of FDJ in third.
Cavendish's win on Saturday had silenced critics who questioned whether the 31-year-old still had the beating of cycling's premier sprinters, and this repeat performance will be further vindication for the Team Dimension Data rider.
It was a long and often slow day as the peloton travelled 223.5km from Granville to Angers - a stage second in length only to Tuesday's mammoth 237.5km trek from Saumur to Limoges in this year's Tour.
With Sagan in yellow and his Tinkoff team controlling the peloton, they kept the pace slow to aid their ailing leader Alberto Contador.
The Spaniard, a two-time winner of the Tour, suffered two crashes in as many days on the opening stages and team director sportif Sean Yates admitted before the start he could not be sure if Contador would be forced to withdraw.
The slow pace allowed solo breakaway rider Armindo Fonseca to quickly establish a lead of more than 11 minutes as he rode on home roads, although it slowly ticked down.
When the pack drew within five minutes of him, Direct-Energie's ever-willing Thomas Voeckler bridged across to him, and the two led the race on the approach to Angers before being swallowed up 8km from home to set up the sprint battle to come.