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'
|Genoa forced to wait for UEFA licence|
|Injured Cardozo out of Paraguay squad|
|CONCACAF provisionally dismisses Webb and Li|
|Klopp: Career highlights of a charismatic coach|
|Verona v Juventus: Ogbonna seeks strong Champions League warm-up|
|FA charges Demetriou over betting breaches|
|Atalanta v Milan: Inzaghi faces last chance to prove worth|
|King joins Bournemouth as QPR rebuild begins|
|Plymouth part ways with Sheridan|
|Hernandez banned for three matches|
|Chelsea star Fabregas has nose surgery|
|Blatter: More bad news may follow|
|Galliani hopeful over Ancelotti deal|
|Frontzeck to continue as Hannover coach|
|Tremmel released as Tate waves goodbye to Swansea|
|Arsenal v Aston Villa: Sherwood out to upset holders|
|Porto activate release clause for Casemiro|
|UEFA open to boycott of World Cup - Platini|
|Athletic Bilbao v Barcelona: Catalans seeking second leg of treble|
|Auxerre v Paris Saint-Germain: History beckons for Ligue 1 champions|
|Cole confirms West Ham departure|
|UEFA elect not to boycott FIFA Congress|
|Borussia Dortmund v Wolfsburg: Klopp aiming for triumphant farewell|
|Flamini hails Coquelin impact at Arsenal|
|South Africa deny wrongdoing in World Cup bid|
|Benitez confirms Napoli exit|
|McShane among six released by Hull|
|Cerci committed to Milan|
|West Ham expect Collins to return for pre-season|
|Real deny Pogba bid|
|Important to keep Chelsea squad together - Mourinho|
|Alonso: Gerrard was magic|
|Pochettino silent on Ings speculation|
|Visa threatens to ´reassess´ sponsorship amid FIFA scandal|
|Blatter skips FIFA Medical Conference|
|MLS Preview: Revs not out for revenge against Galaxy|
|MLS Review: Sounders go top in West, Timbers and Galaxy win|
|AFC stands by Blatter|
|Matheus ´alright´ after collapse - Markevych|
|Copa Libertadores Review: River, Inter through to semis|
|Signing Toni a ´long shot´ for Adelaide|
|Ramsey good enough for Barca - Coleman|
|Bacuna pushing for Benteke stay|
|Evans stunner settles City friendly in Toronto|
|Banega: Emery a great coach|
|Emery tight-lipped on Sevilla future|
|Argentina finalise Copa America squad|
|Nike issues statement following arrest of FIFA officials|
|Hero Bacca grateful for Europa League triumph|
|Markevych rues defensive errors in Dnipro defeat|
|AFC Champions League Review: Naft Tehran fairytale continues|
|Emery: We deserved Europa League success|
|Dnipro 2 Sevilla 3: Bacca brace sees holders make history|
|South Africa 0 Malawi 0 (4-5 on penalties): Harawa heroics send Bafana Bafana out|
|CONCACAF and CONMEBOL respond to arrests in FIFA scandal|
|FIFA president Blatter welcomes investigations as corruption probe rocks world football|
|UEFA calls for FIFA elections to be postponed|
|BREAKING NEWS: Advocaat exits Sunderland and retires from club management|
|La Liga: Real Madrid season review - Ancelotti pays the price for disappointing season|
|Zambia 3 Ghana 0: First-half spree does the damage|
|Barnes suffers double knee ligament injury|
|Balotelli to stay at Liverpool - agent|
|Kane at the double in friendly win|
|Norwich make Dorrans switch permanent|
|Ings unsure of next move|
|Bournemouth snap up Federici|
|FIFA ´crisis´ cannot continue - Prince Ali|
|Barton headlines QPR exits|
|Juan demands more from Inter|
|Stoke snap up Haugaard|
|Subotic commits to Dortmund|
|Warner pleads innocence after US indictment|
|Napoli to refuse questions on Benitez´s future|
|USDoJ names indicted FIFA officials|
|Wenger coy over Vidal and Benzema moves|
|Suarez back in training ahead of Copa final|
|Pique: I´ll retire at Barca|
|Gerrard ´blown away´ by Liverpool send-off|
|FIFA ´very happy´ with Zurich arrests|
|Liverpool defender Toure targeting trophies|
|Ramsey eyeing title assault|
|Welbeck out of FA Cup final and England matches|
|FIFA the ´injured party´ as Swiss prosecutors open criminal proceedings|
|Prince Ali saddened by FIFA arrests|
|Pellegrini to make City defence a priority|
|Labbadia giving Lasogga, Olic, Jiracek time|
|Ramsey confident on Wembley chances|
|Swiss authorities confirm FIFA arrests|
|El Shaarawy open to Premier League move - agent|
|Reports: FIFA officials set to be arrested|
|Tigres UANL 2 Emelec 0 (2-1 agg): Mexicans through to Libertadores semis|
|Valencia ruled out of Copa America|
|Coleman: Bale being ignored by Real team-mates|
|Ruddy eyes England recall|
|Benteke will strike fear into Arsenal - Westwood|
|Howe named LMA Manager of the Year|
|Casillas reiterates desire to stay in Madrid|
|Dnipro players pay for fans´ tickets, transport|
|Galliani: I want Ancelotti back at Milan|
|Premier League: Manchester City season review - Frustrations as latest title defence falters|
|Injured Benfica star Salvio not for sale|
|AFC Champions League Review: Al Sadd suffer last-16 exit|
|Emery targeting historic victory|
|Toure and Wisdom pen new Liverpool deals|
|Stadium facilities drive Van Gaal potty|
|Blatter brushes off Figo´s ´dictatorship´ claims|
|Mavuba to end career at Lille after extending contract|
|Ipswich´s Bishop charged over betting breaches|
|Markevych admits to Dnipro nerves|
|Relegated Almeria to be deducted three points|
|Reims retain Guegan on one-year deal|
|Di Matteo departure could hinder Schalke swoop for Khedira|
|Bale planning Real Madrid stay|
|Del Bosque not prepared to risk Costa|
|West Ham earn Europa League berth|
|Pellegrini sure City will win title back|
|Low calls Herrmann into Germany squad|
|Gerrard will win trophies with Galaxy - Carragher|
|Frankfurt agree to let Schaaf leave|
|Hernandez hit with violent conduct charge|
|Bale set for 50th Wales cap against Belgium|
|Baines hoping for pre-season return|
|Bournemouth sign Boruc|
|Sevilla duo Rico and Vidal handed Spain calls|
|Premier League: Chelsea season review - Mourinho´s men canter to title|
|Speroni hints at possible Palace exit|
|Kane states Tottenham commitment|
|Boruc, Hooiveld leave Southampton|
|Oxlade-Chamberlain desperate to make FA Cup final|
|Roar turn to Aloisi|
|Di Matteo resigns as Schalke coach|
|Hughes hints at Moses return|
|Wenger hits out at scheduling|
|Terry backs Chelsea to dominate|
|Jets part ways with coach Stubbins|
|Kewell would love to manage Liverpool|
|Janmaat: Newcastle players failed Carver|
|Adelaide step up interest in Toni|
|Chelsea´s Drogba interested in MLS move|
|Otamendi wants to leave Valencia - agent|
|Benitez almost certain for Real job|
|Schneiderlin will leave for Champions League club|
|Kane planning to come back bigger and better|
|Moyes staying at Sociedad|
|Neil revels in Norwich promotion|
|Drogba interested in MLS move|