Jenson Button won a thrilling Hungarian Grand Prix in wet/dry conditions after a strategic error cost Lewis Hamilton a very good shot at victory.

11254 - Button wins thrilling wet/dry race

Button eventually led Sebastian Vettel over the line by 3.5s, who in turn had a lead of 16.2s over Fernando Alonso in third. But those gaps don't do justice to how close this race was, with Hamilton, who finished fourth, looking nailed on for victory until the third pit stops when he took on supersoft tyres instead of softs.

Rain also played its part and saw Hamilton impede Paul di Resta as he completed a donut to recover from a spin at the chicane. The stewards did not look kindly on Hamilton's antics and slapped the McLaren driver with a drive-through penalty which put an end to his podium chances.

Mark Webber had a tough race and also made some bad tyre decisions to finish fifth ahead of Felipe Massa's Ferrari in sixth. Di Resta came through to take the best finish of his career in seventh with Sebastien Buemi putting in a fine performance from 23rd on the grid to finish eighth.

Nico Rosberg recovered from a difficult race to finish ninth ahead Jaime Alguersuari in the final points position in tenth.