At the Kovalainen finished fifth. In the week leading up to the Hungarian Grand Prix, McLaren confirmed that Kovalainen would remain with the team for . He won his first race at Hungary and became the 100th driver to win a Formula One Grand Prix after race leader Felipe Massa retired due to an engine failure with three laps remaining. After the race Kovalainen commented: "In previous races my driving was too hard on the tyres. For this race we made somewhat radical changes to the set-up, and they were definitely a step in the right direction." He finished the following race in Valencia in fourth position, which moved him into the top five in the championship.