Sebastian Vettel grabbed the lead of the Formula 1 world championship with a dominant victory in a Canadian Grand Prix that ended in a bizarre chequered flag confusion.
Vettel led every lap of the race, quickly building a comfortable lead over Valtteri Bottas and controlling the gap from there.
The most eventful part of Vettel's race after that came at the start of the final lap, when the chequered flag was shown more than one lap early.
Vettel was aware enough of the error to complete the full distance at racing speed, although after he crossed the line at the end of the 70th and final lap, the race result was then based on positions at the end of lap 68.
Bottas's main challenge from behind came at the start when a fast-starting Max Verstappen pulled alongside into Turn 1, but Bottas held onto the inside line for Turn 2 and forced the Red Bull driver to back out.
After that moment, which Verstappen was praised for by his team as he avoided getting caught up in an incident, the Dutchman was never able to mount another attack.
Bottas did have a minor scare with 15 laps to go, when he went wide at Turn 1 after lapping Carlos Sainz's Renault, and clipped the grass at Turn 2, briefly falling back behind the Renault.
The second Red Bull of Daniel Ricciardo claimed fourth place, taking advantage of difficulties for Hamilton early in the race to jump the Mercedes during the pitstops.
While the Red Bulls pitted earlier than the other leading cars were scheduled to due to starting the race on the hypersoft tyre, Hamilton also came in around the same time despite being on ultrasofts that should have been able to last much longer.
But he was forced into an early stop so Mercedes could attempt to rectify an engine problem, with the reigning world champion having reported "drop outs of power" early in the race.
After falling behind Ricciardo during those stops, Hamilton was then vulnerable to Kimi Raikkonen's Ferrari also getting ahead of him when the Finn stopped much later in the race, but he hung on to fifth place as Raikkonen emerged from the pits just behind him at Turn 2.
Despite having tyres that were 16 laps fresher than Hamilton's, Raikkonen couldn't mount a challenge, gradually falling back from the Mercedes.
Mercedes offered Hamilton the option of turning down his engine in the closing laps, but he declined, pressuring Ricciardo and getting to within a second of the Red Bull.
Hamilton got close at the hairpin with four laps to go, but was unable to attempt a pass down the following straight after having a big slide in the middle of the corner, and he then lost further time on the following lap stuck behind Sergey Sirotkin's Williams.
Behind the leading cars, Renault took a one-two finish in the 'Class B' race, with Nico Hulkenberg leading home Sainz to claim seventh and eighth for the team.
Esteban Ocon, who was ahead of both Renaults early in the race, was the first car to make a scheduled pitstop, and he lost out to Hulkenberg and Sainz having been holding them up before he suffered a slow pitstop, which relegated him to ninth.
Ocon came back at the Renaults in the closing stages of the race, prompting Renault to ask Hulkenberg to pick up the pace to prevent Sainz coming under attack.
The final point went to Charles Leclerc, who inherited 10th when Fernando Alonso retired after reporting a loss of drive.
The Sauber driver headed the Spaniard early in the race, but he lost out to the McLaren during the pitstops, only to reclaim the position when Alonso came into the pits again to retire.
The only other drivers not to finish were Brendon Hartley and home driver Lance Stroll, who crashed in spectacular fashion at Turn 5 on the opening lap.
Stroll got out of shape through the fast right-hand kink, squeezing Hartley, who was on his left, between the Williams and the tyre barrier, briefly launching the Toro Rosso into the air.
After being checked at the medical centre, Hartley was then sent to hospital for further checks.
|3||33||Max Verstappen||Red Bull||TAG||7.702|
|4||3||Daniel Ricciardo||Red Bull||TAG||19.625|
|7||27||Nico Hulkenberg||Renault||Renault||1 lap|
|8||55||Carlos Sainz||Renault||Renault||1 lap|
|9||31||Esteban Ocon||Force India||Mercedes||1 lap|
|10||16||Charles Leclerc||Sauber||Ferrari||1 lap|
|11||10||Pierre Gasly||Toro Rosso||Honda||1 lap|
|12||8||Romain Grosjean||Haas||Ferrari||1 lap|
|13||11||Sergio Perez||Force India||Mercedes||1 lap|
|14||20||Kevin Magnussen||Haas||Ferrari||1 lap|
|15||9||Marcus Ericsson||Sauber||Ferrari||2 laps|
|16||2||Stoffel Vandoorne||McLaren||Renault||2 laps|
|17||35||Sergey Sirotkin||Williams||Mercedes||2 laps|
|28||Brendon Hartley||Toro Rosso||Honda|