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.
|Ronaldinho to leave Atletico Mineiro|
|Lorient capture Ayew|
|Celtic loan Berget, sell Watt|
|Pires signs up for Indian Super League|
|Allegri set for early San Siro reunion in maiden Juve campaign|
|Bakayoko makes Monaco move|
|Bakayoko makes Monaco move|
|Lens granted Ligue 1 place|
|UEFA Champions League Preview: Red-hot Salzburg face Qarabag|
|Parma bring in Cassani from Fiorentina|
|De Vrij set for Lazio|
|BREAKING NEWS: Everton complete Besic signing|
|Kongolo pens Feyenoord extension|
|Redknapp confirms Granero exit|
|Advocaat confirmed as Serbia coach|
|CSL Preview: Henan aim to escape drop zone, Liaoning host Guangzhou RandF|
|Arribas makes Sevilla switch|
|Chambers joins Arsenal|
|Ospina buoyed by Arsenal recruitment|
|Liverpool´s loss is our gain, says Redknapp on Remy|
|Ferdinand: I would still be at United with Giggs in charge|
|Pepe targets Super Cup glory|
|Martinez prioritising striker signing|
|Perez not looking to leave Benfica|
|Klopp itching to work with full Dortmund squad|
|Mourinho: It feels like Drogba never left|
|FIFA asks for FIGC review into alleged racist remark|
|Hull to review Maguire deal|
|Wenger prepared to gamble on Chambers|
|Atletico agree Griezmann deal|
|Irvine planning further striker addition|
|Campbell: Black professionals scared to talk about racism|
|Mata backs Herrera to star in Premier League|
|Injured Rafael returning to Manchester|
|Schmidt demands more from Leverkusen|
|Copa Libertadores Preview: Defensor Sporting banking on home record|
|Remy´s Liverpool move off, confirms Rodgers|
|Inzaghi demands nastiness from Milan|
|MLS Review: Timbers triumph in Montreal, Dallas thwart Vancouver|
|Jovetic ready to lead City line - Pellegrini|
|Lewandowski impresses Ribery, Alaba|
|Colombian Primera A Review: Three clubs remain perfect, Atletico Nacional get off the mark|
|Rodgers: ´We can score goals´ without Suarez|
|Chilean Primera Division Review: Canales brace powers Universidad Chile|
|Atletico Madrid need penalties to edge past Earthquakes|
|Liga MX Review: Monterrey, America stay perfect|
|Paraguayan Primera Division Review: Capiata set pace|
|Brazilian Serie A Review: Cruzeiro win again, Kaka scores|
|Sterling goal sees Liverpool past Olympiacos|
|Peruvian Primera Division Review: Los Caimanes notch maiden win, Inti Gas claim top spot|
|CAF Champions League Review: Zamalek held, Vita Club leave it late|
|Jovetic at the double as Manchester City thrash Milan|
|Monk thrilled by Sigurdsson contribution|
|Lovren signs for Liverpool|
|Mourinho pleased with Olimpija test|
|Vertonghen eager to remain at Spurs|
|Sigurdsson marks Swansea return with a brace|
|Lewandowski, Rode help Bayern retain Telekom Cup|
|Immobile scores and suffers injury in Dortmund win|
|Costa scores on Chelsea debut|
|CAF Confederation Cup Review: Leopards de Dolisie 1 Real Bamako 2|
|Thai Premier League Review: Buriram pull clear, Police edge away from danger|
|Falcao nears Monaco return|
|CSL Review: Harbin Yiteng produce another upset, Evergrande stretch lead|
|Britton and Emnes to miss season-opener|
|Taylor-Fletcher strike sinks Everton|
|J.League Review: Chasing pack close on Urawa Reds, Tokushima Vortis secure rare win|
|Ancelotti expects fresh Bale to be even better|
|Simeone keen on Griezmann|
|Mazzarri refuses to set Inter targets|
|Lazio director targeted by fans|
|Dyche rules out Deeney move|
|Rummenigge: Bayern will never sack Guardiola|
|BREAKING NEWS: Arsenal to bring in Ospina|
|Pochettino quiet on Schneiderlin link|
|Vidic settling into Inter life|
|Van Gaal hints at Zaha United future|
|Di Maria will report for training - Ancelotti|
|Wilshere vows to answer critics|
|Rodgers expecting titles|
|Deila demands Celtic cutting edge|
|Rodgers: We won´t rush Lallana|
|Wenger: We have to be better against top-level teams|
|FIGC presidential candidate uses racist slur|
|MLS Review: Columbus claim second straight win, Toronto falter|
|Villa battle past Dynamo in Houston|
|United more efficient, says Garcia|
|Pedestrian Tottenham edge past Chicago Fire|
|Van Gaal bemoans display|
|CS Sfaxien 1 ES Tunis 0: Troussier era opens with a win|
|Icardi stars from the spot as Inter overcome Real Madrid|
|Arsenal upstaged by Red Bulls|
|Pre-Season Friendly Review: Rooney stars for United, Bayern reach Telekom final|
|In-form Rooney inspires Manchester United win|