Jorge Lorenzo brought his title-winning MotoGP season to a perfect conclusion by fighting through the field for his first ever victory in front of his home Spanish fans at the Valencia finale.
Some chaotic early laps saw Lorenzo twice tangle with rookie Marco Simoncelli, leaving the Fiat Yamaha rider shaking his head in fury - and almost on the floor - as the 23-year-old dropped as far back as eighth in the early stages.
Lorenzo then regained his composure and climbed back up the order, passing Simoncelli for fourth on lap 7 of 30.
That left Casey Stoner, Dani Pedrosa and Valentino Rossi ahead of him.
Stoner, seeking to end his four-year career at Ducati with a 24th Desmosedici victory, had been in command from turn one, with Pedrosa pulling a brave outbraking move to vault into second at turn two.
But the Repsol Honda rider's injured shoulder began to take its toll and he faded backwards from lap ten onwards.
Lorenzo seized second from Rossi under braking on lap 12, by which time the leading trio were separated by just 0.6sec.
Stoner held firm and, of the three, it was Rossi who broke first - losing ground from lap 21.
Lorenzo looked ever stronger and made his victory pass on Stoner into turn two with seven laps remaining. Stoner couldn't retaliate and Lorenzo took his ninth win by 4.576sec.
Lorenzo finishes the 2010 season with 383 points, taking the points record off Rossi, whom Lorenzo also joins on a record 16 podiums in a single year. "Today has been the craziest race in all my life!" said Lorenzo.
Stoner, who won Ducati's first and only MotoGP World Championship in his first (2007) season with the team, finished four-seconds clear of Rossi for his ninth rostrum of the year and last before joining the factory Honda team.
Seven time MotoGP champion Rossi had been unable to match the pace of Stoner and Lorenzo throughout the weekend, but rallied back from a slow start - he was eighth on lap one - to claim a podium finish on his final M1 ride.
The Italian superstar, switching to Ducati for 2011, marked the end of his seven years at Yamaha - during which time he won four world championships and 46 races for Yamaha - by wearing a yellow "Bye Bye Baby" t-shirt.
Rossi stopped on his slow down lap and hugged the front of his M1 is a scene similar to the aftermath of his first M1 win, on his Yamaha debut, at Welkom 2004.