(CNN) -- Mark Webber climbed to the top of the Formula One championship standings with a runaway victory at the Hungarian Grand Prix on Sunday as Red Bull teammate and polesitter Sebastian Vettel paid for a mistake while the safety car was out. The Australian moved four points clear of previous leader Lewis Hamilton, who retired in the 24th lap of 70 after a mechanical failure ended his hopes of a second successive win at the Hungaroring, where he also triumphed in 2007. "It was a bit of a gift for me but you know I haven't had many of them," the 33-year-old said after ending his 150th Grand Prix in fine style.
@highlight
Mark Webber overtakes previous leader Lewis Hamilton in the F1 drivers' standings
@highlight
Australian claims his fourth win of 2010 in Hungary as Red Bull move above McLaren
@highlight
His teammate Sebastian Vettel hit with 25-second penalty for error while safety car was out
@highlight
German finishes third behind Fernando Alonso, having led by 12 seconds from pole
Mark Webber
Mark Webber
Vettel and Alonso had pitted for the first time on lap 16, allowing @placeholder to establish a crucial buffer that he kept extending until he also came in for a tire change on lap 44 -- meaning he came back out of the lane still in front.
Sebastian Vettel
Sebastian Vettel
"I didn't understand what was going on and why I was penalized," @placeholder told reporters.
Sebastian Vettel
Sebastian Vettel
@placeholder moved up to third overall, 10 points behind Webber, despite failing to capitalize on his seventh pole position this year as his early 12-second lead was wiped out.
Mark Webber
Mark Webber
Vettel moved up to third overall, 10 points behind @placeholder, despite failing to capitalize on his seventh pole position this year as his early 12-second lead was wiped out.