Lewis Hamilton claimed his first victory for Mercedes with a dominant drive in the Hungarian Grand Prix.
The Briton pulled himself clear of a fraught race behind, in which Kimi Raikkonen ultimately beat Sebastian Vettel to second, Mark Webber salvaged fourth and Romain Grosjean's chances were spoiled by a penalty.
Hamilton's initial battle was with qualifying rivals Vettel and Grosjean, after a spicy first lap in which slow-starter Vettel had to defend hard from the Lotus as Fernando Alonso and Nico Rosberg also tried to get involved.
The Red Bull was right on the Mercedes' tail at first, but as the opening stint wore on, Hamilton had some respite with Vettel instead under pressure from Grosjean.
The crucial moment for Hamilton was when he emerged behind Jenson Button after his first pit stop. Hamilton rapidly overtook and, despite the McLaren's best retaliatory efforts, pulled away. Vettel could not do the same when he also found himself tailing Button after pitting.
The two made light contact, leaving Vettel concerned about his front wing and allowing Grosjean plenty of chances to attack, as Alonso closed in, too. It took until lap 24 for Vettel to finally pass Button, with Grosjean clashing with the McLaren as he tried to follow. Both continued, but the incident is under investigation.
Grosjean still got a penalty in the race as well. Following his second pit stop, he boldly passed Felipe Massa's Ferrari around the outside of the fast Turn 4. But the stewards ruled that he had exceeded track limits in doing so and bestowed a drive-through, dropping him out of contention.
By the time Vettel was clear of Button, Hamilton had a commanding advantage over the world champion that he would not lose.
The other Red Bull was not defeated yet, though. Webber ran a very long first stint on his medium tires and spent a while in the lead. On their slightly different sequences, Hamilton twice emerged right behind Webber after pit stops, and twice passed him on the outside of Turn 3, with Webber ending up taking to the run-off in the second move. Those passes ensured Webber had no chance of delaying Hamilton's progress as the Briton wrapped Mercedes' third victory of 2013.
Meanwhile, Raikkonen worked his way forward on a two-stop strategy, spending the early part of the race trapped behind Massa before bringing himself into contention. His consistent pace meant that he emerged in second place as the final stops played out, with both Red Bulls behind him.
Vettel tried his utmost to pass Raikkonen in the closing laps and complained that the Finn was over-defensive in what turned out to be a decisive dice with two laps to go.
Webber tried to chase down this pair but had to settle for fourth, while Alonso fell away from the leaders and could only fend off Grosjean for fifth.
McLaren got both its cars in the points on two-stop strategies, with Button seventh and Sergio Perez ninth.
First-lap contact with Rosberg and a later brush with Adrian Sutil hampered Massa's day and he finished eighth.
Rosberg tumbled down to 12th in his incident with the Ferrari. He recovered to ninth before a fiery late-race failure. The Mercedes' retirement allowed Pastor Maldonado to end Williams's points drought in 10th position.
PROVISIONAL RACE RESULTS
Pos Driver Team
1. Hamilton Mercedes
2. Raikkonen Lotus-Renault
3. Vettel Red Bull-Renault
4. Webber Red Bull-Renault
5. Alonso Ferrari
6. Grosjean Lotus-Renault
7. Button McLaren-Mercedes
8. Massa Ferrari
9. Perez McLaren-Mercedes
10. Maldonado Williams-Renault
11. Hulkenberg Sauber-Ferrari
12. Vergne Toro Rosso-Ferrari
13. Ricciardo Toro Rosso-Ferrari
14. van der Garde Caterham-Renault
15. Pic Caterham-Renault
16. Bianchi Marussia-Cosworth
17. Chilton Marussia-Cosworth
DNF Di Resta Force India-Mercedes
DNF Rosberg Mercedes
DNF Bottas Williams-Renault
DNF Gutierrez Sauber-Ferrari
DNF Sutil Force India-Mercedes
World Championship standings, round 10:
1. Vettel 172 1. Red Bull-Renault 277
2. Raikkonen 134 2. Mercedes 208
3. Alonso 133 3. Ferrari 194
4. Hamilton 124 4. Lotus-Renault 183
5. Webber 105 5. Force India-Mercedes 59
6. Rosberg 84 6. McLaren-Mercedes 57
7. Massa 61 7. Toro Rosso-Ferrari 24
8. Grosjean 49 8. Sauber-Ferrari 7
9. Button 39 9. Williams-Renault 1
10. Di Resta 36
11. Sutil 23
12. Perez 18
13. Vergne 13
14. Ricciardo 11
15. Hulkenberg 7
16. Maldonado 1
All timing unofficial