Budapest, Hungary:McLaren's Lewis Hamilton won his third Formula One race of the year at the Hungarian Grand Prix on Sunday, beating Kimi Raikkonen of Ferrari and BMW-Sauber's Nick Heidfeld.
Defending F1 champion Fernando Alonso was fourth.
Hamilton led from the start in a turbulent race - his team was penalized after it was deemed to have hindered his qualifying efforts.
With six races to go, Hamilton extended his lead over Alonso in the standings to seven points, 80-73.
Alonso was penalized five places from the pole position late Saturday after FIA stewards ruled that McLaren had delayed Hamilton on the final pit stop in qualifying.
Alonso was timed at being stationary more than 30 seconds after the tires were changed before heading out while Hamilton waited behind him in the pits.
"It's been an eventful weekend and quite emotional for all the team," Hamilton said. "With all the drama all weekend it would have been easy to lose focus.
"We came here with a great package and still wasn't sure we could stay ahead of the Ferraris."
McLaren leads the constructors' standings with 138 points. Ferrari has 119 points.
McLaren's total stayed at 138 because FIA also said that any points McLaren won would not count toward the constructors' championship.
McLaren is appealing that ruling although it cannot appeal Alonso's relegation on the starting grid.
At the start, Hamilton moved away easily while Raikkonen tucked in behind. They essentially stayed that way during the rest of the race, with Heidfeld third, except for pits stops.
"It was quite a boring race just staying behind," Raikkonen said.
Alonso went wide on a turn and dropped to eighth but within two laps he was back to sixth.
After 20 laps all the leaders had pitted and Raikkonen moved to within two seconds of Hamilton.
Ten laps later he was within 1.5 seconds of Hamilton and gaining. By lap 36, it was a second and his lead stabilized until the second pit stop when Raikkonen went in at the end of the 46th lap.
Hamilton went in on the 50th lap and stretched his lead to more than four seconds but immediately started losing ground. By lap 55, he was ahead of Raikkonen by just 2.2 seconds and by only a half-second by lap 57.
With 13 laps remaining, that was as close as it got.
Alonso slowly advanced up to fourth, but never made a real run at Heidfeld after struggling with Ralf Schumacher in the first part of the race.
Robert Kubica of BMW-Sauber had another strong finish for fifth place with Schumacher of Toyota in sixth, his best of the season.
Nico Rosberg of Williams was seventh and Heikki Kovalainen of Renault finished eighth. Mark Webber of Red Bull was the only other car on the same lap as the winner.
Ferrari and McLaren have won all 11 races this season, with Alonso, Hamilton and Raikkonen having three wins apiece, and Massa having two.
Raikkonen has 60 points for third place in the season standings and Massa has 59 points for fourth.
McLaren and Ferrari are also embroiled in a bitter legal dispute concerning leaked information and sabotage.
The main dispute began when a 780-page technical dossier on Ferrari cars was found at the home of McLaren chief designer Mike Coughlan, who has since been suspended.
The documents were allegedly supplied by Ferrari mechanic Nigel Stepney, who was fired.
The teams and drivers have a three-week break before the next race, the Turkish GP in Istanbul on August 26.
However, FIA now has to deal with the Ferrari-McLaren decision review as well as an appeal of the McLaren points deduction.