Max Verstappen recovered from an early spin to win a dramatic Spanish Grand Prix and take the championship lead after Charles Leclerc retired.
Leclerc looked set to increase his advantage over Verstappen in searing heat at the Circuit de Barcelona-Catalunya, but the Ferrari driver's race was over when he lost power while leading comfortably on lap 23.
Verstappen had been in the gravel on lap nine and also suffered DRS issues, but the Dutchman led a Red Bull one-two for his third consecutive win to move above Leclerc in the driver standings after Sergio Perez let him through under team orders on lap 49 of 66.
George Russell finished third, with his Mercedes team-mate Lewis Hamilton working his way back through the field to take fifth place behind Carlos Sainz despite suffering a puncture on the first lap.
Leclerc got a good start to retain his lead, but Hamilton's miserable start to the season was summed up when his he made contact with the Haas of Kevin Magnussen - who went into the gravel - at Turn 4 on the opening lap.
Hamilton limped to the pits with a front-left puncture and was told to continue after suggesting over the team radio that he retires from the race, having returned to the track in 19th place.
Sainz was back in 11th after spinning off at Turn 4 on lap seven and Verstappen was in the gravel at the same section of the circuit two laps later, dropping back from second to fourth.
Russell pitted from second and Verstappen was also called in on lap 14, with Leclerc leading by over nine seconds after the first round of stops.
Verstappen was furious as he was hampered by DRS issues attempting to pass Russell, who fended the Dutchman off to keep second place as they went wheel-to-wheel.
It was all going so well for Leclerc until he lost power with a win there for the taking and Perez soon passed Russell on fresher tyres to take the lead after Verstappen pitted for a new set of softs.
Verstappen was out in front on lap 38 after team-mate Perez and Russell pitted for mediums, then a quick stop for the defending champion put him back on track in a strong position but still behind his team-mate.
Perez allowed Verstappen to pass him under team orders and there were no further twists in a pulsating race, with a surging Hamilton passing Sainz to sit fourth until a late technical issue caused him to concede the place back.