Real Sociedad inflicted a blow to Barcelona's La Liga title hopes with a stunning 3-1 win at Anoeta on Saturday.
Antoine Griezmann was influential as Sociedad extended their unbeaten home run against Barcelona to five games, leaving the team that topped the table heading into the weekend three points behind Real Madrid.
An Alex Song own goal gave the hosts the lead, only for Lionel Messi to level with his sixth goal in his last five appearances against Sociedad.
Barca were then undone by two strikes early in the second half, Griezmann scoring in the 54th minute after excellent work from Carlos Vela and David Zurutuza adding a third five minutes later.
Sociedad move up to fifth, while Barca, who saw coach Gerardo Martino sent to the stands at half-time, could drop to third if Atletico Madrid avoid defeat against Osasuna on Sunday.
It took 20 minutes for the first threatening moment of the match to arrive as Barca opened up the Sociedad defence through Andres Iniesta and Pedro.
The duo exchanged a number of passes before a chance opened up for Pedro, but he curled his effort wide of goal without testing Claudio Bravo.
Sociedad then made the breakthrough as Gorka Elustondo forced an error from Song.
Sergio Canales delivered a pinpoint cross into the penalty area where Elustondo, who had got in front of the Cameroon international, saw his header deflect off Song's chest and fly past Victor Valdes.
Sociedad's lead only lasted four minutes as Messi, anonymous in the opening half-hour, levelled with a low drive from the edge of the penalty area.
After flicking the ball out to Martin Montoya, the Argentine met his return pass after Sergio Busquets had let it run through his legs and made no mistake with a clinical finish.
Both sides had chances to move ahead at the start of the second half. but it was Sociedad who got a second goal as Griezmann netted his 15th of the season in the league.
Vela was released behind the Barca defence and rolled the ball across the penalty area for Griezmann, who fired first time beyond Valdes.
Things soon got even better for the hosts as they extended their advantage, with Griezmann heavily involved again.
The Frenchman spotted the late run of Zurutuza into the penalty area, and the midfielder flicked the ball past Valdes to leave Barca with a mountain to climb.
Even the introduction of Cesc Fabregas and Alexis Sanchez could not rouse Barca, who were lucky not to concede a fourth goal as Vela fired against the post in the final 10 minutes.
|Luiz Gustavo ruled out of Brazil´s Copa America squad|
|Mexico confirm Copa squad|
|Pogba ´very happy´ at Juve|
|Pogba can be Europe´s greatest - Pirlo|
|Pinedo stays in Argentina, Bolivia captain Raldes in Copa America squad|
|Quinteros cuts Banguera, Hidalgo for Chile showpiece|
|Injured Gonzalez misses Copa America, Venezuela finalise youthful squad|
|Champions League Final: Buffon plays down Juve hopes, Iniesta doubtful|
|Karlsruher 1 Hamburg 2 (2-3 agg): Muller strike ensures survival|
|CONCACAF official Sanz banned by FIFA|
|Gourvennec shuns admirers with Guingamp extension|
|Pastore signs PSG extension|
|Morel swaps Marseille for Lyon|
|Watford sign Austria defender Prodl|
|Monaco confirm Berbatov departure|
|Peru v Mexico: Herrera confident as Copa preparations continue|
|Injury rules Dost out of Netherlands friendlies|
|Koeman must strengthen attack for Europa League challenge - McMenemy|
|Wilshere apologises for Spurs taunts|
|Marchisio: No fear ahead of Barcelona clash|
|Klopp to take break after leaving Dortmund|
|Champions League win would be ´more than extraordinary´ - Allegri|
|Charity calls for education after Leicester ´racist orgy´ claims|
|Taylor agrees Swansea deal|
|Sevilla snare Krohn-Dehli|
|Coloccini hails Gutierrez after ´perfect´ Newcastle finale|
|Benitez excited by Madrid opportunity|
|Sampaoli confirms final Chile squad for Copa America|
|Clement ready to go it alone at Derby|
|Mihajlovic confirms Sampdoria exit|
|Brentford turn to Dijkhuizen|
|Usami, Moto to lead Japan qualifying threat|
|Vieira ´the best bet´ for Newcastle - Bernard|
|´We´ll see what happens with my future´ - De Gea|
|Klinsmann: Guzan will start at Gold Cup|
|Alves wants Barca extension not PSG - Blanc|
|Derby appoint Paul Clement as head coach|
|Karlsruher ´can only win´ - Kauczinski|
|Ronaldinho causes stir with disallowed goal|
|Szczesny plans Arsenal stay|
|Pioli: Lazio deserve Champions League qualification|
|Pablo Aimar makes River Plate return|
|MLS Review: Seattle leave it late against Red Bulls|
|Wenger: Arsenal won´t spend big|
|Police to investigate Rangers-Motherwell fight|
|´I will definitely stay´ at City - Toure|
|Champagne backs Blatter to reform FIFA|
|Honduras 2 El Salvador 0: Penalty, goal and red card to Lozano|
|Mancini wants Icardi to stay|
|Sampdoria set to speak on Mihajlovic future|
|Serie A Review: Napoli miss Champions League in Benitez send-off|
|O´Neill: Fitness of players will determine selection against Romania|
|Inter 4 Empoli 3: Icardi brace secures victory|
|Northern Ireland 1 Qatar 1: Irish cough up lead|
|Eredivisie Review: Five-star Vitesse seal Europa berth, NAC Breda relegated|
|Motherwell 3 Rangers 0 (6-1 agg): Miserable return for McCall|
|Wilshere taunts Spurs during FA Cup parade|
|Di Francesco pens Sassuolo extension|
|Klopp thanks Dortmund for emotional farewell|
|Italy call up uncapped duo|
|Walcott expects Arsenal deal|
|Luiz dreaming of Champions League glory|
|Leicester trio issue apology as club investigate alleged ´racist orgy´|
|Gerrard ´a dream to play with´, says Sturridge|
|Clasie a target if Schneiderlin leaves - Koeman|
|Muller appears to pledge future to Bayern in Instagram post|
|Sheikh Mansour wants Toure at City - agent|
|Real vice-president inadvertently ´confirms´ Benitez appointment|
|Pique targeting Barca ´perfection´|
|Malanda helped us a lot - De Bruyne|
|Falcao not focused on transfer speculation|
|Iniesta in doubt for Champions League final|
|Blanc hoping for FFP boost|
|Willian, Filipe Luis, Cuadrado to miss Premier League start|
|Mourinho: Chelsea not playing Sydney ´for fun´|
|MLS Review: Shipp sinks Montreal, Giovinco stars for Toronto|
|Luis Enrique targets ´exemplary treble´, basks in Messi´s magic|
|Iraola: Neymar ´rainbow´ unsporting|
|Mexico 3 Guatemala 0: Herrera brace ensures farewell victory|
|´I´m not going to change the way I play´ - Neymar|
|PSG motivated by historic opportunity - Douchez|
|Wenger hopes Wembley win convinces Walcott to stay|
|Klopp refuses to dwell on departure after cup heartbreak|