Lewis Hamilton became the youngest world champion in Formula One history by the skin of his teeth after a nail-biting Brazilian Grand Prix.
The English McLaren driver's title rival Felipe Massa won the race in his Ferrari but Hamilton grabbed the fifth place he needed at the last corner.
A late-race rain shower looked to have cost Hamilton the title when he dropped to sixth after a stop for wet tyres.
But he passed Toyota's Timo Glock as they entered the pit straight.
Renault's Fernando Alonso, the previous youngest champion, was second ahead of Massa's team-mate Kimi Raikkonen and Toro Rosso's Sebastian Vettel.
Hamilton's success buries the ghosts of last year, when after a remarkable debut season he let slip a massive lead in the final two races and Raikkonen sneaked in to win the title.
Ultimately, there were no similar mistakes this time around - but as he entered the final lap Hamilton was not going to win the title He - like Massa - had stopped to change to wet tyres as the rain fell in the closing laps.
But while the Brazilian held on to his lead, Hamilton dropped to fifth place behind Glock - who stayed on dry tyres.
Report: Lewis Hamilton - the making of a champion Hamilton then lost that position - which was the minimum he needed if Massa won - when he was passed at the start of the penultimate lap by Vettel.
Hamilton tried hard to get back past the German, but he could not get close enough to him and he would have thought he had lost the title until he came to the last two corners of the lap.
There, Glock - who had started the final lap 18 seconds ahead of Hamilton - was struggling badly on the now-slick track and the McLaren slipped passed the Toyota as it accelerated up the hill towards the finish line.
"It's pretty impossible to put into words," Hamilton said.
"I thought do I have it? Do I have it? And when they told me I was ecstastic." We need to be proud of our race and our championship but for sure I'm very emotional
Felipe Massa
It was heartbreaking for Massa, whose family were celebrating what they thought was his success for a few seconds until they realised what had happened It was an emotional day for me. You get here and you've almost done everything perfect but we saw Lewis passing Glock again and that mixed emotion.
"Unfortunately we missed [out] by one point but that's racing.
"We need to be proud of our race and our championship. It's one more day of our life when I will learn a lot but for sure I'm very emotional." Massa could not hold back the tears as he realised he had lost out at the death
__________________
A wise man sees failure as progress/
a fool divorces his knowledge and misses the logic/
And loses his soul in the process/ obsessed with nonsense with a caricature that has no content/