Sebastian Vettel found himself spinning around on the track just after the start, watching helplessly as other cars whizzed past him and his Formula One title hopes seemingly drifted away with them.
It was only the start of Vettel's problems in what he called the toughest race of his career, but he overcame them all to drive away with the only prize that mattered - his third straight championship title.
Vettel shook off a first-lap crash and a series of other difficulties to finish sixth at the Brazilian Grand Prix, good enough to protect his lead over challenger Fernando Alonso and become F1's youngest three-time champion at age 25.
"Everything that could go wrong went wrong," he said. "I think you guys had your show and we had to really fight until the end."
Jenson Button of McLaren won the incident-filled race at Interlagos, with Alonso finishing second and Ferrari teammate Felipe Massa third.
Seven-time world champion Michael Schumacher, F1's most successful driver, finished seventh in his final race after 19 seasons.
But they were all overshadowed by Vettel, who had to overcome a poor start, the early crash, a damaged car, a broken radio, a botched pit stop and pouring rain.
"Just look at the stuff that went wrong. It was for sure the toughest race," Vettel said. "We kept believing. It was never game over."
Vettel appeared in big trouble after he was bumped shortly after the start and spun. He dropped to last place before he could turn his car around and begin a difficult pursuit.
But he steadily worked his way up the field despite a slightly damaged car and no radio communication back to his team.
"You are the man, you are a triple world champion," a team official told Vettel on the radio after he crossed the line, without being able to listen to the driver's response.
Vettel is the first driver with three titles in a row since Schumacher won five straight from 2000-04. The only other driver to win at least three consecutive championships was Juan Manuel Fangio from 1954-57.
"It's difficult to find the right words," Vettel said. "It's unbelievable. I'm still full of adrenaline. It was an incredible race."
Schumacher was the first to congratulate Vettel, having just bid his own farewell to the sport. Minutes before the race, he lapped the track with a flag with the words "Thank You."
He used the radio to thank the mechanics and engineers he has worked with as well as his fans watching on TV.
Vettel needed to finish fourth or better to clinch the title regardless of where Alonso crossed the line.
The Spaniard would only have a chance to overtake the German by finishing on the podium and looked to have the advantage after a superb start and a chaotic first lap, but in the end couldn't erase Vettel's 13-point lead in the standings.
Lewis Hamilton was leading in his final race with McLaren when Nico Hulkenberg crashed into him while trying to pass on a slippery track with 17 laps to go. Hamilton received a standing ovation from his McLaren team when returning to the garage.
"Mixed emotions, but I'm happy," he said.
While the race was filled with drama and potentially title-deciding swings, it had an anticlimactic finish behind the safety car after Paul Di Resta crashed just before the final lap.
That meant Vettel could simply cruise safely toward the title.
It rained on and off throughout the race, making conditions difficult and forcing drivers to come in and out of the pits several times.
"It was more or less was what we wanted, mixed conditions," Alonso said. "But it was one of the most difficult races we ever drove. You feel you are with the wrong tire on every lap. It was a risk to crash and have an accident on every lap.
Obviously you are not in control of what your rivals do. We were hoping for a little miracle."
And for a while, they had reason to believe in one.
Alonso moved from seventh to fifth after the first corner, while Vettel dropped from fourth to seventh.
Vettel then was hit from behind by the Williams of Bruno Senna and spun at the end of the back straight, dropping to last place after sitting backward on the track with several cars having to go around him.
Moments later, Alonso passed Massa and Vettel's Red Bull teammate Mark Webber at the same time to move to third.
But the Spaniard lost a position after locking his front tire and briefly running off the track at the first corner.
Vettel - without significant damage to his car - began making his way back to the front, easily passing the slower cars near the end of the pack. He was already sixth by lap 15.
Alonso briefly had the title in his hands again after more rain fell with 14 laps to go. Red Bull lost time while putting the wet tires on Vettel's car, dropping him to 11th place while Alonso moved into third.
But after all cars pitted, Vettel was in sixth place, enough to keep the title. Alonso moved to second after passing Massa, but he needed Vettel to drop a few more spots.
Hamilton started from the pole and kept his spot for a few laps before being overtaken by teammate Button on the sixth lap, and Hulkenberg got past the British driver on Lap 18.
Hamilton, who will replace Schumacher at Mercedes next season, retook the lead with 22 laps to go, but was hit by Hulkenberg when the Force India driver came in too hard to make the pass.
The 43-year-old Schumacher is retiring for the second time after struggling in his return with Mercedes.
He had ended his career after the 2006 season and managed only one podium finish after retuning in 2010, at the European GP in July.
Schumacher is leaving F1 with numbers unmatched by any other driver. He retires with the most wins (91), pole positions (68), fastest laps (77) and most podium finishes (155).