Fernando Alonso ended a seven-year wait to claim his second Spanish Grand Prix triumph to thrill his fans in Barcelona.
Ferrari and Alonso managed the strategy to ensure the 31-year-old took the chequered flag for the 32nd time in his career, in a race featuring a staggering 82 pit stops as Pirelli's degrading rubber again seemingly played too much of a role in the outcome for all concerned.
Making four stops, Alonso finished nine seconds clear of three-stopping Kimi Raikkonen in his Lotus, with the Finn having to settle for second for the third consecutive race.
Raikkonen has at least cut triple world champion Sebastian Vettel's lead at the top of the standings to four points, with the German in fourth as Ferrari's Felipe Massa completed the podium line-up.
In taking the victory, and starting from fifth on the grid, Alonso set a new record at this track as no driver had previously won from below third, with 21 of the prior 22 triumphs from the front row.
After savouring the roars of the crowd, Alonso said: “It's very special winning at home, it doesn't matter how may times you do, it's always like starting from zero.
“The last laps are very long because you want the race to finish as soon as possible, but I'm very happy for the team.”
Ferrari team boss Stefano Domenicali echoed the satisfaction felt as he said: “For sure, very, very happy. It was a good day for the team.
“The win was for the people who are working hard at the factory.”