Sebastian Vettel became Formula 1's youngest-ever world champion by winning the Abu Dhabi Grand Prix, with chief rivals Fernando Alonso and Mark Webber just seventh and eighth.
The 23-year-old German led comfortably from the front all afternoon, save a few laps before Jenson Button made his late pitstop. But it was what happened behind Vettel that changed the course of the championship.
Pre-race favourite Alonso only needed to come home in the top four to secure title, even if Vettel won, but his day - and title hopes - were ruined when he spent most of the afternoon looking at the back of Vitaly Petrov's car in the lower reaches of the top 10, thanks to an early shuffling of the race order.
Instead, Nico Rosberg and the Renaults of Robert Kubica and Vitaly Petrov capitalised on alternative strategies offered by an early-race safety car period to finish fourth, fifth and sixth, and relegate Alonso and Webber down the order.
The vital chain of events was triggered by Webber's early pitstop to discard the first set of tyres, on which he was slipping backwards from Alonso's rear wing.
The Australian resumed on lap 13 in 16th place, behind Jaime Alguersuari's Toro Rosso. Massa had been running closely behind Webber, so Ferrari responded by pitting him to see if he could get out ahead of the Red Bull.
When he emerged behind, and Webber lapped 0.8 seconds faster than Alonso next time round, Ferrari made the decision to bring the Spaniard in to ensure he stayed in front of Webber.
He did, but that strategy failed to take into account Nico Rosberg and Vitaly Petrov, who had pitted under a safety on the first lap. That meant that although Alonso had Webber covered off, he was nowhere near the fourth place he needed to deny Vettel the title.
Not only that, but while Alonso was stacked behind Petrov - with Rosberg another two seconds up the road - Kubica stayed out on a long first stint and jumped up the order. His Renault had started on the harder compound tyre after failing to make it through to Q3, but that allowed a late first stop.
Kubica found himself in the thick of the battle for the lead when Vettel and Hamilton rejoined after their stops. With Alonso so far down the order, Hamilton became the biggest threat to Vettel's championship. But the Briton couldn't find a way around the Renault, and by the time Kubica pitted on lap 45, Vettel was 10 seconds up the road and in control.
But in that time, Kubica had extended the gap back to Alonso's pack to 24 seconds - plenty for his pitstop. He resumed ahead of team-mate Petrov, with Alonso seventh.
Button, who was running just five seconds ahead of Alonso in the early stages, remained in third - easily clear of the Rosberg group by the time he resumed from his pitstop on lap 39.
The first-lap safety car period that later proved so pivotal to the championship was, coincidentally, partly caused by Rosberg - the driver to benefit most from it.
His Mercedes team-mate Michael Schumacher was delayed on the inside of the track by the defending Rubens Barrichello. Rosberg tried to drive around his team-mate into the chicane and Schumacher spun when he got off line on the exit.
Just as he was trying to restart, Vitantonio Liuzzi arrived on the scene, in the middle of a pack with nowhere to go. His Force India hit and climbed up the front of the Mercedes and blocked the track. It was this that prompted Rosberg and Petrov to make their early stops.
PROVISIONAL RACE RESULTS The Abu Dhabi Grand Prix Yas Marina, United Arab Emirates; 55 laps; 305.355km; Weather: . Classified: Pos Driver Team Time 1. Vettel Red Bull-Renault 1h39m36.837s 2. Hamilton McLaren-Mercedes + 10.1s 3. Button McLaren-Mercedes + 11.0s 4. Rosberg Mercedes + 30.7s 5. Kubica Renault + 39.0s 6. Petrov Renault + 43.5s 7. Alonso Ferrari + 43.7s 8. Webber Red Bull-Renault + 44.2s 9. Alguersuari Toro Rosso-Ferrari + 50.2s 10. Massa Ferrari + 50.8s 11. Heidfeld Sauber-Ferrari + 51.5s 12. Barrichello Williams-Cosworth + 57.6s 13. Sutil Force India-Mercedes + 58.3s 14. Kobayashi Sauber-Ferrari + 59.5s 15. Buemi Toro Rosso-Ferrari + 1m03.1s 16. Hulkenberg Williams-Cosworth + 1m04.7s 17. Kovalainen Lotus-Cosworth + 1 lap 18. Di Grassi Virgin-Cosworth + 2 laps 19. Senna HRT-Cosworth + 2 laps 20. Klien HRT-Cosworth + 2 laps 21. Trulli Lotus-Cosworth + 4 laps Fastest lap: Hamilton, 1m41.274s Not classified/retirements: Driver Team On lap Glock Virgin-Cosworth 44 Schumacher Mercedes 1 Liuzzi Force India-Mercedes 1 World Championship standings, round 19: Drivers: Constructors: 1. Vettel 256 1. Red Bull-Renault 498 2. Alonso 252 2. McLaren-Mercedes 454 3. Webber 242 3. Ferrari 396 4. Hamilton 240 4. Mercedes 214 5. Button 214 5. Renault 163 6. Massa 144 6. Williams-Cosworth 69 7. Rosberg 142 7. Force India-Mercedes 68 8. Kubica 136 8. Sauber-Ferrari 44 9. Schumacher 72 9. Toro Rosso-Ferrari 13 10. Barrichello 47 11. Sutil 47 12. Kobayashi 32 13. Petrov 27 14. Hulkenberg 22 15. Liuzzi 21 16. Buemi 8 17. De la Rosa 6 18. Heidfeld 6 19. Alguersuari 5 All timing unofficial