Lewis Hamilton came through a chaotic race to claim an extraordinary victory in the German Grand Prix, snatching the championship lead back from Sebastian Vettel after the Ferrari driver crashed out.
Vettel had comfortably led the race from pole position until a mistake in lap 52 saw the German lock up as he approached a hairpin turn, sending him into the gravel with no hope of recovery.
Meanwhile, it was an uphill battle for Hamilton after a hydraulic failure in qualifying saw him start at 14th on the grid.
But he picked off the competition one-by-one with ruthless precision, the field powerless to the Mercedes' pace, rising 13 places to earn one of the most remarkable wins of his career.
The Brit's teammate Valtteri Bottas came in behind for a Mercedes one-two, with his Finnish compatriot Kimi Raikkonen completing the podium.
Win called into question
Hamilton's win was briefly cast in doubt as he was summoned to speak to the race stewards about a driving misdemeanor that could have seen him stripped of the victory.
And after explaining himself to the officials, he was reprimanded but given no penalty, meaning he keeps his victory and his championship lead.
The Briton told reporters: "The most emotional day - up and down. No-one ever wants to go see the stewards."
The incident in question occurred as the Mercedes driver made a last-minute decision to scrub a pit stop amid confusion from the garage, choosing to cut across the grass to retake the lead on-track.
According to the F1 rulebook, it is illegal for a car to cross the line separating the pit entry from the track.
The championship duel fires up
A reasonably pedestrian race roared into life after Vettel's crash as teams scrambled to pit with rain on the horizon, before a thrilling wheel-to-wheel scrap between Bottas and Hamilton.
After a near-collision, the Mercedes garage called on Bottas to cool down his challenge, leaving the four-time world champion free to claim his fourth German Grand Prix title, level with legendary German driver Michael Schumacher.
It is the first time Hamilton has come from lower than sixth on the grid to win a Grand Prix, and it sets alight once more the fierce title duel with Vettel -- as both chase a fifth championship.
"I don't remember feeling this great. I am going to try to enjoy it while it lasts. I am tired because it was a hard race," the Mercedes driver told reporters before the stewards' investigation.
"I saw the cloud coming and then it started to spit - and as soon as it started, I was like, 'Yes, this is going to create the opportunity at the right time.' And, Jeez, it did.
"It is a whirlwind of a season. It has been up and down. I am grateful for the ups and downs.
"I had this dream to win and I can't explain how it happened but I won. It gives me the confidence to know that when I go again at something, when I have a dream and a goal, I can get there with hard work."
Hamilton now boasts a 17-point advantage going into the Hungarian Grand Prix next week, before the championship takes a four-week summer break.
With 15 laps to go, Vettel looked to be strolling towards his first win at Hockenheim, stretching his lead in the overall standings after victory in Silverstone two weeks ago.
But the error in the turn could prove costly for the Ferrari driver, his voice trembling over the team radio as he rued a wasted opportunity.
Meanwhile it was emotion of a different kind on the Mercedes radio, as the team celebrated: "Miracles do happen, Lewis."
"What an amazing job by you guys," he replied. "Love conquers all."
It was a rewarding result for the German team -- the first time they had secured a one-two in the German Grand Prix -- and in the same week as they confirmed the signing of both drivers for next season.
Hamilton signed a deal worth a reported $52 million per year until the end of 2020, while Bottas signed on for a third season with the team with the option of extending it to 2020.
But it was another race to forget for Red Bull driver Daniel Ricciardo, whose race was terminated in lap 29 after a power issue.
Having worked his way up to seventh from the back of a grid after a penalty from qualifying, the Australian driver lost power and was forced to stop the race.
It is his fourth retirement of the season, and despite wins in China and Monaco, hopes of mounting a title challenge seem to be ebbing away for the Red Bull driver.
Meanwhile his teammate Max Verstappen was hampered by a miscalculation with tyres that denied him the opportunity to challenge for the podium, finishing fourth.
And it was another frustrating day for Williams -- celebrating their 700th race start in Formula 1 -- as both Sergey Sirotkin and Lance Stroll retired once again, leaving the historic team bottom of the constructor standings with just four points from the first 11 races of the season.
- Photographing F1 with 105-year-old camera
- Mormon church to end 105-year relationship with the Boy Scouts
- 'Formula E has advantages over F1,' says former F1 champion Nico Rosberg
- F1 boss Chase Carey 'excited' by Copenhagen GP plan
- Former F1 world champion Nico Rosberg becomes Formula E investor
- Niki Lauda: Former F1 champion 'functioning well' after lung transplant
- Fernando Alonso: F1 races 'more emotional' since announcing retirement
- All-female motor racing series offers potential F1 pathway
- 'Remarkable' Lewis Hamilton joins pantheon of all-time F1 greats
- Looking forward to F1 Abu Dhabi Grand Prix