In , a close fight ensued between Hamilton and the Ferraris of Felipe Massa and Räikkönen; Hamilton won five times and despite also crossing the finish line first at the Belgian Grand Prix, he was deemed to have gained an illegal advantage by cutting a chicane during an overtake and was controversially demoted to third. Going into the final race in Brazil, Hamilton had a seven-point lead over Massa. Massa won there, but Hamilton dramatically clinched his first Drivers' Championship by moving into the necessary fifth position at the final corner of the final lap of the race. Despite winning his first Grand Prix in Hungary, Kovalainen finished the season only seventh in the overall standings, allowing Ferrari to take the constructors' title.