
However, undeterred, the visitors regained the lead before halftime, courtesy of a goal from former Real Madrid player Miguel Gutierrez.
Valery added a third in the second half, and despite Ilkay Gundogan pulling one back late in the game, Barcelona's hopes of salvaging a point were dashed by Cristhian Stuani's 95th-minute strike.
This victory marked Girona's first competitive win over Barcelona, allowing them to leapfrog Real Madrid into the top position. Barcelona, on the other hand, finds themselves seven points behind in fourth place.