Barcelona's La Liga title chances were dashed as Angel Lafita's double gave Getafe a shock 2-2 draw at Camp Nou on Saturday.
Lafita – who initially cancelled out Lionel Messi's first-half strike – headed in a dramatic leveller in the 92nd minute to give Cosmin Contra's side a well-earned point.
Barcelona are now three points behind leaders Atletico Madrid, who have a game in hand on them, with just two fixtures to play.
At the other end of the table, the draw could prove crucial in Getafe's fight against relegation, with the draw moving them up to 16th and three points clear of safety.
The hosts controlled possession, as expected, but were never at their fluent best and eventually paid the price in dramatic circumstances.
They did look set for victory, however, when Alexis Sanchez scored his 18th league goal of the season with 23 minutes remaining.
But Lafita took advantage of some terrible marking to nod in a late equaliser and stun the home crowd.
Barcelona paid tribute to former coach Tito Vilanova, with a minute's silence held before the first match at the Camp Nou since the 45-year-old's passing.
The hosts also wore commemorative shirts that had words translating to 'Tito – Forever Eternal' emblazoned on them.
Both sides were slow to get going until Messi's 23rd-minute opener, which came after Dani Alves charged down the right.
His cut-back was met at full pace by the Argentina star, who side-footed a clever finish into the top-left corner from 12 yards.
Barca's lead lasted just 14 minutes, though, as Lafita's outstanding finish restored parity.
An unorthodox lobbed free-kick unsettled the Barcelona defence and Lafita brought the ball down, held off the attention of Pedro and then lashed a shot across goalkeeper Jose Pinto and into the left corner.
The goal was initially ruled out by the linesman, who appeared to suggest that Lafita had handled the ball, but referee Jose Teixeira intervened and the decision was overruled, as the visitors went to the break on level terms after Alexis wasted a late chance.
Alexis was denied by the crossbar early in the second half, despite failing to meet Alves' swinging cross from the right with his head, almost scoring with his shoulder after significant pressure from defender Rafa.
The chances kept coming for Barca, as Pedro was denied by Getafe goalkeeper Julio Cesar after an excellent dribbling run from Messi, and their persistence was eventually rewarded in the 67th minute.
The goal followed a neat team move, with substitute Cesc Fabregas' ball finding Pedro, and although his shot was blocked, Alexis was on hand to fire the rebound in with his left foot.
Fabregas and Alves had further opportunities to extend Barca's lead, before Messi lobbed onto the roof of the net, while at the other end, Pablo Sarabia was guilty of missing a great chance with 10 minutes left.
With Barca left vulnerable after a quick Getafe counter-attack, Sarabia could only fire a volley straight at Pinto.
But it mattered little, as Lafita's late effort boosted their survival hopes and shattered Barcelona dreams.
|Coach: G. Martino|
for J. Mascherano 66'
for Xavi 87'
for Pedro 90+1'
|Pique wants whistling situation resolved|
|Players must implement my style - Klopp|
|Yesil eyes Liverpool return|
|´I was the media´s ugly duckling´ in Madrid - Coentrao|
|No one better than Strachan - Dalglish|
|Bale ready to start for Wales, says Coleman|
|Del Bosque unable to shed light on Silva, Morata injuries|
|Klopp: England is obsessed with money, money, money - but I don´t care!|
|Hodgson hails Barkley after man-of-the-match Estonia display|
|Pique jeering uncomfortable - Cazorla|
|Euro 2016 Qualifying Review: Spain and Switzerland seal qualification|
|Hodgson pleased with England´s Euro 2016 seeding boost|
|Spain 4 Luxembourg 0: Cazorla and Alcacer seal Euro 2016 qualification|
|England 2 Estonia 0: Walcott and Sterling make the difference in Rooney absence|
|Ferguson: Klopp should be in charge of transfers|
|CAF World Cup Qualifying Review: Djibouti hit for six by Swaziland|
|Aguero expects to be out for a month|
|Ireland lose Given for Poland showdown|
|Conte´s focus on reaching Euro 2016, not a new contract|
|Poland v Republic of Ireland: Automatic qualification in sight for Group D rivals|
|Pirlo to miss Italy´s game in Azerbaijan|
|Sunderland appoint Allardyce as new manager|
|FIFA´s Executive Committee confirm extraordinary meeting|
|Serbia v Portugal: Bernardo Silva talks up squad´s quality|
|Redfearn appointed Rotherham manager|
|Ronaldo rested for final Portugal qualifier|
|Pedro thrilled with Chelsea adjustment|
|Finland v Northern Ireland: Proud O´Neill switches focus to France|
|Old foes Wenger, Mourinho both winners - Cech|
|Denmark v France: Varane expects further improvement|
|Gotze ruled out for up to 12 weeks|
|Nigeria v Cameroon: Super Eagles start life without Enyeama|
|Chung Mong-joon to launch CAS appeal|
|Gundogan: Germany are feeling the pressure|
|Harry Kane´s time is now, says Hodgson|
|Dalglish impressed by new Liverpool boss Klopp|
|Accused former CONCACAF official extradited to USA|
|ECA calls for ´real reform and transparency´ in FIFA|
|Germany v Georgia: Hummels angry to have qualification in the balance|
|Blatter appeals FIFA suspension|
|Benzema to return to Real Madrid with hamstring injury|
|Gibraltar v Scotland: Focus on Strachan ahead of ´pointless´ game|
|Gotze out, Schweinsteiger doubtful for Georgia clash|
|Pogba set to be fit to face Inter|
|Martino invites feedback from Argentina players after shock defeat|
|Adelaide United 0 Melbourne Victory 0: Ten-man champions held|
|Cristiano Ronaldo: Thank God Portugal don´t need a play-off|
|Klopp backs Liverpool to win title ´within four years´|
|Klopp: I´m not a genius, I am ´The Normal One´|
|Dunga calls for calm after Brazil suffer Chile defeat|
|Ayre: Klopp appointment proves owners´ ambition|
|Gotze to miss crucial clash with Georgia|
|Klopp: I don´t want Ronaldo or Messi!|
|Diego Costa admits returning to Chelsea ´overweight´|
|Liverpool is world football´s biggest challenge, says Klopp|
|Klopp demands ´full throttle football´ from Liverpool|
|Klopp a ´godsend´ for Liverpool - Houghton|
|Argentina confirm hamstring injury for Aguero|
|Costa Rica 0 South Africa 1: Jali´s early goal enough|
|CONMEBOL World Cup Qualifying Review: Ecuador shock Argentina, Brazil lose in Chile|
|Argentina 0 Ecuador 2: Visitors stun Copa America finalists in World Cup qualifying|
|Chile 2 Brazil 0: Vargas, Sanchez help hosts to win|
|Aguero injured in World Cup qualifier|
|Azerbaijan v Italy: Conte´s men out to seal qualification|
|´We lost control´ - Postecoglou|
|Kazakhstan v Netherlands: Van Persie not giving up Euro 2016 hope|
|Del Bosque doesn´t expect hostility towards Pique|
|Colombia 2 Peru 0: Hosts too good in opening World Cup qualifier|
|Euro 2016 Qualifying Review: Northern Ireland and Portugal qualify, Group D goes to the wire|
|Low slams ´unexpected and unnecessary´ defeat|
|O´Neill hails ´historic´ victory over world champions Germany|
|Barcelona back Messi amid tax fraud allegations|
|´Proud´ Strachan gutted by late heartache|
|Bolivia 0 Uruguay 2: Caceres and Godin seal victory|
|Deschamps hails ´top-class´ Diarra|
|Thiago excited for ´special´ Spain return|
|Hummels takes blame for Republic of Ireland winner|
|O´Neill pays tribute to Northern Ireland after Euro 2016 qualification|
|FIFA suspensions: Timeline of Thursday´s events|
|Chile 2-0 Brazil: Vargas & Alexis consign Selecao to defeat|
|Argentina 0-2 Ecuador: Martino's men crumble without Messi & Aguero|
|Deschamps confirms Benzema injury|
|Scotland 2 Poland 2: Red-hot Lewandowski eliminates hosts with late leveller|
|Republic of Ireland 1 Germany 0: Long winner stuns world champions|
|Colombia 2-0 Peru: Gutierrez and Cardona sink Incas|
|France 4 Armenia 0: Benzema fires Deschamps´ side to friendly win|
|Portugal 1 Denmark 0: Moutinho fires hosts to Euro 2016|
|Northern Ireland 3 Greece 1: Davis at the double as hosts qualify for Euro 2016|
|Nigeria 0 DR Congo 2: Oliseh suffers first defeat|
|Messi hits out at tax trial decision|
|Klopp named new Liverpool boss|
|AFC World Cup Qualifying Review: Australia slip up, Japan remain unbeaten|
|CAF World Cup Qualifying Review: South Sudan earn draw in milestone first qualifier|
|Carragher issues transfer fund warning to Klopp|
|Daley Blind: My father should not be fired if Netherlands fail to qualify|
|Dyke: FA will await FIFA verdict before dropping Platini support|
|Bolivia 0-2 Uruguay: Caceres & Godin give Tabarez's men perfect start|
|Bosnia-Herzegovina v Wales: Kanu out to finish the job|
|Costa Rica v South Africa: Oviedo relishing return to international action|
|Cahill: England captaincy a dream come true|
|Platini slams ´farcical´ FIFA ban|
|Rooney won´t be risked in either game - Hodgson|
|Arsenal and Chelsea fined by FA after feisty encounter|
|France 4-0 Armenia: Benzema hits late double in friendly triumph|
|Andorra v Belgium: Wilmots´ side on the verge of qualification|
|UEFA stands ´fully behind´ banned Platini|
|Kuwait 0 South Korea 1: Koo header makes the difference|
|Injury delays Ings´ England debut|
|Klopp ready to become ´a Liverpool man´|
|Chung Mong-joon: Ethics Committee is Blatter´s ´hitman´|
|Chelsea snap up free agent goalkeeper Amelia|
|Jordan 2 Australia 0: Asian champions suffer first loss|
|Messi to stand trial over tax allegations, according to reports|
|Reform activist Collins: FIFA at risk of collapse|
|Syria 0 Japan 3: Honda, Okazaki and Usami strike to claim top spot|
|Ribery edging closer to Bayern comeback|
|Liverpool set to announce Klopp appointment|
|Tebas sides with Barcelona over Turan registration|
|Ronaldo: Ferguson was my football father|
|´Enough is enough´ - IOC president Bach slams FIFA|
|Nigeria icon Enyeama retires from international football|
|FA continue to support Platini despite FIFA ban|
|What They Said: Blatter, Platini respond to FIFA bans|
|Hayatou vows not to contest FIFA presidency|
|Rooney ruled out of Estonia match|
|Western Sydney Wanderers 1 Brisbane Roar 3: Maclaren at the double as Roar start in style|
|Blatter ´relieved of all duties´ by FIFA|
|Blatter hits back at Ethics Committee after FIFA suspension|
|Gotze committed to Bayern Munich|
|Mourinho thanks Abramovich for vote of confidence|
|Blatter, Platini and Valcke banned by FIFA|
|Michel Platini´s statement in full|
|Platini labels FIFA leak ´insidious´ after suspension reports|
|Pogba out of France friendlies with ankle injury|
|Freixa critical of Barcelona over Turan absence|
|Reus hopes Ireland feel the pressure|
|Poyet: Sunderland managers not to blame|
|Fabregas: Mourinho is the best coach for Chelsea|
|United States v Mexico: Confederations Cup spot up for grabs|
|MLS Review: Whitecaps qualify for play-offs, Drogba scores again but Red Bulls win|
|Osorio will coach Mexico|
|Dunga: Brazil must restore fans´ confidence|
|Moyes has Sociedad backing - Martinez|
|Pekerman: Falcao will always be called up|
|De Gea: Madrid saga has made me grow|
|Schelotto wants to join Leicester|
|Coutinho ´extremely happy´ at Liverpool - agent|
|Tabarez: We don´t want to cause problems|
|Free agent Ronaldinho hopes to continue playing|