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.
|´I´m blessed with golden genes´ - Adebayor insists he is ready for new Premier League chance|
|Messi renewal progressing ´very, very well´ - Robert|
|Neuer expects Clement success at Swansea|
|Klopp calls for Liverpool enjoyment|
|Mustafi talks up Arsenal belief|
|Van Basten still against offside, slams ´nonsense in the media´|
|Rakitic dreaming of career-long Barcelona stay|
|Toure inspired by Ibrahimovic as he explains Chinese Super League snub|
|Kasperczak committed to attacking approach as Tunisia reach AFCON quarters|
|Slimani wants Algeria youngsters to learn from AFCON humiliation|
|Senegal 2 Algeria 2: Slimani at the double as Desert Warriors bow out|
|Zimbabwe 2 Tunisia 4: First-half glut seals progression|
|Adrian: I always wanted to return to Villarreal|
|Togo v DR Congo: Agassa could miss crucial game after vandals hit home|
|Extended Southampton stay on the cards for Sims|
|Bayern hoping for speedy Vidal return|
|Hull sign Markovic on loan from Liverpool|
|Wenger charged with misconduct by FA|
|Deulofeu joins AC Milan - and this time the deal is definitely done!|
|Henderson still playing through pain, reveals Klopp|
|Record-breaking Rooney reveals secret to longevity|
|No ulterior motive behind Van Dijk captaincy call - Puel|
|Carroll ignoring want-away Payet|
|Gerrard´s managerial ambitions ´wonderful news for Liverpool´ - Klopp|
|PSG interested in Guedes, confirms Emery|
|Barca lose Busquets to sprained ankle|
|Pulisic commits to Dortmund until 2020|
|Mason speaking after suffering fractured skull|
|Aubameyang blames poor preparation for Gabon AFCON exit|
|David Beckham returns to PSG|
|Morocco v Ivory Coast: Holders must beat old boss Renard as group reaches thrilling conclusion|
|Djilobodji charged over Fletcher incident|
|Cahill and Terry visit Mason in hospital|
|Allardyce onto second-choice transfer targets|
|Dortmund sign teenager Isak|
|Madrid confirm Modric and Marcelo injury blows|
|Vidal fears longer lay-off, targets return against Arsenal|
|Yaya Toure: Sterling should have dived!|
|Turan wants to see out Barcelona contract despite China talk|
|Impassioned Ibrahimovic attacks Rooney´s critics|
|´He has to lose weight´ – Mihajlovic angry after dropping Maxi Lopez|
|Lack of Liverpool signings frustrates Klopp|
|Suarez: Busquets difficult to replace for Barca|
|Depay impresses Lyon after debut|
|CSL? Rooney committed to United|
|Denis Suarez wants more goals after opening Barca account|
|Simeone bemoans inconsistency but says Atletico are improving|
|Mourinho won´t stand in the way of Rooney and CSL|
|Dzeko on target as Roma stay on Juve´s tail|
|Rakitic ready to cover for injured Busquets|
|Bale and Kane wish Mason well after serious injury|
|Busquets injury less severe than feared - Luis Enrique|
|Mason in stable condition after skull fracture|
|Senegal v Algeria: Misfiring favourites in last-chance saloon|
|PSV provide perfect finish for darts champ Van Gerwen|
|Broos predicts ´something great´ for Cameroon|
|Eibar 0 Barcelona 4: MSN see Barca to victory after Busquets blow|
|Busquets sustains ankle ligament damage in Eibar v Barcelona|
|Cameroon 0 Gabon 0: Aubameyang miss haunts hosts as AFCON campaign ends|
|Guinea-Bissau 0 Burkina Faso 2: Traore on target as Stallions advance|
|Busquets injury at Eibar compounds Barcelona midfield woes|
|Deulofeu lands in Italy ahead of AC Milan move|
|´I made the best decision´ - Conte basks in Costa recall|
|Wenger urges Xhaka not to ´punish´ Arsenal|
|Ex-Bastia man Palmieri questions Balotelli racial abuse claims|
|Costa reaction hailed by Cahill|
|Manchester City must be mentally strong, says embattled Bravo|
|Chelsea 2 Hull City 0: Costa back with a bang for Blues|
|Koke lauds Griezmann ´stroke of genius´ as Atletico snatch draw|
|Pioli questions Ansaldi dismissal|
|´I should have shut up and I apologise´ - Wenger sorry for ref rant|
|Arsenal can be proud of this red-card record|
|Mustafi: Arsenal never give up|
|Higuain: Lazio posed no threat to Juventus|
|Athletic Bilbao 2 Atletico Madrid 2: Griezmann magic rescues point|
|Puel unsure Van Dijk will be fit for Liverpool clash|
|Free-scoring Monaco return to Ligue 1 summit|
|Arsenal 2 Burnley 1: Sanchez snatches thrilling win for 10-man Gunners|
|Palermo 0 Inter 1: Joao Mario strike extends Inter streak|
|Arsenal fans give Alexis Sanchez paws for thought|
|Costa returns to Chelsea XI to face Hull City|
|Inter cannot delude fans about Messi - Ausilio|
|Allegri admits new Juventus formation was a ´mad idea´|
|Leicester boss Ranieri admits to tactical mistakes|
|Zimbabwe v Tunisia: Kasperczek demands ruthlessness with quarter-final spot on the line|
|Southampton 3 Leicester City 0: Saints end losing streak but suffer potential Van Dijk blow|
|Juventus 2 Lazio 0: Dybala and Higuain strikes see leaders return to form|
|Iborra makes a mark at both ends as Sevilla scrape past Osasuna|
|Pogba hails ´brother´ Griezmann as Manchester United speculation continues|
|Costa fight rumour ´not nice´, says Courtois|
|Henry makes emotional Ozil plea: Stay and become an Arsenal legend|
|Welbeck still has huge promise, says Wenger|
|A-League Review: Wanderers finally end home hoodoo|
|Tevez denies he´s highest-paid player after CSL move|
|Napoli capable of greatness - Sarri|
|Montella proud of Milan display against Napoli|
|Ramos tells Madrid fans: We need support|
|Conte: Costa committed to Chelsea|
|Callejon credits ´Maradona effect´ as Napoli down AC Milan|