There was mixed fortunes for the three La Liga title rivals on Wednesday on a day when Victor Valdes' Barcelona career looked to be ended.
Atletico Madrid solidified their place at the top of the table with 1-0 over Granada, while Real Madrid lost 2-1 at Sevilla.
Real's controversial 4-3 Clasico loss to arch-rivals Barcelona at the Bernabeu on Sunday saw them replaced by Atletico at the table's summit and they were unable to bounce back from that defeat.
Cristiano Ronaldo gave them a 14th-minute lead at Estadio Ramon Sanchez Pizjuan, but the deficit was overturned just a few moments later as Carlos Bacca poked the ball past Diego Lopez.
The visitors enjoyed more of the ball than their hosts in the second half, but Bacca's contribution was vital - as he netted his second with 18 minutes left to give Sevilla all three points.
The victory was Sevilla's sixth consecutive triumph in the league, moving them to within six points of fourth-placed Athletic Bilbao, while Real slip three points behind leaders Atletico, who won without playing particularly well.
Atleti struggled to break through Granada in a frustrating first half, but top scorer Diego Costa salvaged all three points after 63 minutes with his 24th Liga goal of the campaign.
Real's defeat means Atleti are a point clear of Barcelona as the title race swings between three teams.
Barcelona moved up to second, above Real, thanks to their 3-0 home win over Celta Vigo, but the victory was marred by a season-ending knee injury to goalkeeper Valdes.
The goalkeeper has already announced his intention to leave at the end of the campaign, meaning that he has played his final game in a Barcelona shirt.
He suffered a torn anterior cruciate ligament after landing awkwardly while collecting a routine ball into the box, and he is now set for surgery that also puts his FIFA World Cup participation with Spain in doubt.
Away from that incident, two goals from Neymar and one from Lionel Messi was more than enough to see off a Celta side coached by Barca legend Luis Enrique.
The day's other game saw Rayo Vallecano take a big leap towards survival as they beat another of the league's relegation contenders, Osasuna, 1-0 at home.
Rayo went into the match a point above their visitors and it looked set to end all-square at Estadio de Vallecas as proceedings entered second-half stoppage time with the scores level.
However, Jose Carlos won a late penalty after a tug from full-back Damia and forward Joaquin Larrivey converted the resulting spot-kick to win it.
|Coach: D. Simeone|
for C. Rodríguez 56'
for A. Turan 60'
for David Villa 70'
|Hammond pens Leicester extension|
|Only Schweinsteiger can decide Bayern future - Guardiola|
|Cech plans to play until he´s 40|
|Montoya arrives in Milan ahead of Inter move|
|Hernandez out of Gold Cup|
|US asks Switzerland to extradite seven FIFA officials|
|MLS Preview: Sounders seek momentum switch|
|Mexico 0 Honduras 0: Hernandez injury sours friendly|
|Hernandez taken to hospital|
|Garay in doubt for Copa America final|
|Wambach: USA peaking for World Cup final|
|Bassett ´an absolute hero´ despite own goal - Sampson|
|Japan 2 England 1: Late own goal breaks English hearts|
|Salvo quits as Valencia president|
|Costa not Ribery cover - Bayern director Sammer|
|Chile, Argentina deserve final spots - Mena|
|Ramos keen on United switch - Calderon|
|B36 1 The New Saints 2: Wilde leaves it late to secure advantage|
|Sevilla agree deal for Rami|
|Celtic snap up United teenager Janko|
|Beauvue passes Lyon medical|
|Roma bring in Falque|
|Coates completes permanent Sunderland switch|
|Vallecano to make charity donations from shirt sales|
|Angella commits to Watford|
|Gundogan pens new Dortmund deal|
|Juve reject €80million Barca offer for Pogba, says Marotta|
|Ruiz seals permanent Villarreal move|
|Mourinho respects Cech´s decision to quit Chelsea|
|Claridge excited by potential Pearson successors|
|Miranda completes Inter switch|
|Blind takes over as Netherlands coach|
|Mourinho: Premier League tougher to win than ever|
|Hamburg make Holtby move permanent|
|Southampton terminate Osvaldo contract|
|BREAKING NEWS: Swansea swoop for Eder|
|Abbiati extends Milan stay|
|Cruyff: Barcelona have lost their values|
|Vydra seals Watford move|
|Ambitious Clyne targets trophy haul with Liverpool|
|Claridge: Off-field incidents cost Pearson his job|
|Clyne becomes Liverpool´s sixth close-season signing|
|Imbula leaves Marseille for Porto|
|FIFA chief Blatter challenges critics to prove corruption claims|
|Distin joins Bournemouth|
|Bayern seal Costa deal|
|Arsenal confirm Diaby departure|
|Blatter to miss Women´s World Cup final|
|Bogdan sets sights on being Liverpool number one|
|Danilo eager to get started at Real Madrid|
|Leicester´s Wood joins Leeds|
|Porto confirm Atletico move for Martinez|
|Lloyd: Repetition key to netting penalty|
|Sheffield Wednesday job a ´dream´ for Carvalhal|
|´We played a complete game´ - Messi|
|Diaz upbeat despite heavy Copa loss to Argentina|
|Martino lauds Messi for selfless performance|
|Viviani makes surprise Verona switch|
|Estonian team wins cup match 31-0|
|No meeting with Arsenal has occurred - Vidal´s agent|
|United States 2 Germany 0: Ellis´ team reach World Cup final|
|Argentina 6 Paraguay 1: Messi leads Martino´s men to Copa final|
|UEFA Europa League Review: FK Zeljeznicar and FC Dacia Chisinau open with wins|
|UEFA Champions League Review: FC Pyunik make winning start|
|Sweden U21 0 Portugal U21 0 (aet, 4-3 on penalties): Carlgren the hero as Swedes claim Euro glory|
|Frankfurt capture Castaignos|
|Bastia face relegation over debt|
|Bahlouli makes Monaco switch|
|Pearson sacked by Leicester|
|Rekik set for Marseille switch|
|Ranocchia and Carrizo sign new Inter deals|
|Crespo handed Modena role|
|Cech reveals work permit prevented past Arsenal move|
|Ivory Coast cut coaching shortlist down to five|
|McCarthy satisfied with Mings sale|
|Heaton commits to Burnley|
|Bowyer: Rhodes and Gestede will not come cheap|
|Burton and Day depart West Brom|
|Mendilibar makes Eibar return|
|Milan agree to terminate Muntari contract|
|Copa final a dream come true for Sampaoli|
|CSKA Sofia demoted due to financial crisis|
|Wolfsburg warn off De Bruyne suitors|
|Kone: I want to prove I can cut it at Everton|
|West Ham v Lusitans: Bilic set for first game in charge|
|Millennium Stadium to host 2017 UEFA Champions League final|
|Ronaldo a ´possibility´ for Portugal´s Olympics squad|
|Liverpool should get rid of Sterling - Grobbelaar|
|Miranda arrives for Inter medical|
|Arsenal can challenge the best - Cech|
|Real star Bale can be better than Ronaldo, says Keegan|
|UEFA approves changes to FFP rules|
|Honduras v Mexico: Moreno´s injury may force Mexican rethink pre-Gold Cup|
|Hiddink was the wrong man for Netherlands - De Boer|
|Vargas: I was scoring with every shot at training|
|Zambrano red rocked Peru - Gareca|
|Paraguay to change tack against Argentina|
|Sampaoli thrilled with substitutes´ influence, applauds Peru|
|Martino rues Copa America date with former side Paraguay|
|Former Birmingham City player Thwaites among Tunisia victims|
|Chile 2 Peru 1: Zambrano´s red card helps hosts into Copa final|
|Thiago Silva: ´I didn´t even know the ball had hit my hand´|
|Ronaldinho set to sign for Antalyaspor|