Hockenheim, Germany: Lewis Hamilton regained the lead in the world drivers' championship on Sunday when he claimed one of the most memorable victories of his career by winning a rain-hit German Grand Prix for Mercedes after starting from 14th on the grid.
The defending four-time champion took full advantage of a heavy downpour during which title rival and fellow-four-time champion Sebastian Vettel of Ferrari crashed out of contention to produce a master-class of technical and tactical racing in treacherous conditions.
His team-mate Valtteri Bottas came home second, 4.5 seconds behind the Englishman, ahead of fellow-Finn Kimi Raikkonen of Ferrari to deliver Mercedes' first one-two finish at a German Grand Prix.
It was Hamilton's fourth win this year and the 66th of his career, the triumph lifting him to the top of the drivers' title race and putting Mercedes back on top of the constructors' championship – no wonder Mercedes chairman Dieter Zetsche embraced him.
"Get in there, Lewis," said Mercedes on team radio. "Miracles do happen mate." Hamilton said: "What an amazing job by you guys. Love conquers all."
"That was highly unlikely, but you've got to believe," Hamilton added. "I said a long prayer before the start...I kept pushing, kept believing and I manifested my dream. So, thanks to God."
Dutchman Max Verstappen finished fourth for Red Bull ahead of German Nico Hulkenberg of Renault, Romain Grosjean of Haas, Sergio Perez and his Force India team-mate Esteban Ocon.
Marcus Ericsson was ninth for Sauber and New Zealander Brendon Hartley 10th for Toro Rosso.
The race began in sweltering conditions with an air temperature of 27 degrees Celsius, or 80 Fahrenheit, and the track at 43 with humidity at 50 per cent and rainclouds looming all around.
Vettel made a clean start from his 55th pole position and resisted Bottas as Raikkonen fought off Verstappen, but most attention was on Hamilton.
The Englishman was swiftly up to 12th from 14th and then reeled off a series of measured passes to climb to sixth by lap 11, when he passed Hulkenberg.
At the front, Vettel was content to stay 3.8 seconds clear of the chasing Bottas before Raikkonen was first to pit, on lap 15, switching to softs and rejoining fourth.
Ricciardo, who had started at the back of the grid, climbed as high as sixth before engine failure on lap 29 ended his race.
A series of pit stops saw the lead pass from Vettel to Bottas to Verstappen and finally to Raikkonen, at which point Vettel was second.
With dark clouds swirling around, Mercedes told Hamilton they were extending his first stint "as much as we can."