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'
|Champions League Final: Luis Enrique worried about Juve, Italian fan nears end of Berlin bike ride|
|Essien joins Panathinaikos|
|Blatter in profile: A look back on 17 years at the top of world football|
|Demichelis set for international retirement after Copa|
|Football world reacts to Blatter resignation|
|Blackpool turn to McDonald|
|Blatter resignation: How the FIFA scandal unfolded|
|Ancelotti rejects Milan approach|
|Platini: Blatter resignation ´the right decision´|
|Swiss Attorney General: Blatter not under investigation|
|Blatter resignation can inspire FIFA change - Scala|
|Mohsni faces lengthy SFA ban|
|Sepp Blatter: Resignation speech in full|
|Blatter to resign as FIFA president|
|Adkins named Sheffield United manager|
|Juve talks ongoing - Witsel|
|Costa has no intention of leaving Chelsea|
|Ligue 1: Paris Saint-Germain season review - Blanc´s men make history|
|Luis Enrique ´worried´ by Juve|
|Mourinho: Costa happy at Chelsea|
|Mourinho hits out at ´unacceptable´ Loftus-Cheek display|
|Inter an ´option´ for Richards|
|Messi: Off-field relationship with Neymar and Suarez key|
|Remy rifle seals Sydney win for Chelsea|
|Messi could replicate Bilbao goal - Luis Enrique|
|Liverpool mauling a boost in transfer market, says Stoke chairman Coates|
|Adkins: Football can learn a lot from rugby|
|Celtic swoop for City defender Boyata|
|Xavi out to sign off in style at Barca|
|Criscito and Poli leave Italy squad|
|Lacazette plays down ´unfounded´ PSG rumours|
|Lloris: No buy-out clause in Tottenham contract|
|Newcastle released Taylor and Gutierrez in same phone call|
|Alba signs new Barcelona deal|
|Benteke coy on Villa future|
|FIFA denies Valcke involvement in $10million payment|
|Brazil selection never influenced, says technical director|
|Pogba doing ´great things´ and will get better, says Deschamps|
|Bundesliga: Borussia Dortmund season review - Klopp endures rocky farewell|
|Adler ´aged three years´, Labbadia ´extremely proud´ of Hamburg|
|Colombia squad settles in Argentina|
|Balotelli ´a target´ because of Liverpool form - Richards|
|Bosnich: If I´d listened to Terry I would have avoided drugs|
|Luiz Gustavo ruled out of Brazil´s Copa America squad|
|Mexico confirm Copa squad|
|Pogba ´very happy´ at Juve|
|Pogba can be Europe´s greatest - Pirlo|
|Pinedo stays in Argentina, Bolivia captain Raldes in Copa America squad|
|Quinteros cuts Banguera, Hidalgo for Chile showpiece|
|Injured Gonzalez misses Copa America, Venezuela finalise youthful squad|
|Champions League Final: Buffon plays down Juve hopes, Iniesta doubtful|
|Karlsruher 1 Hamburg 2 (2-3 agg): Muller strike ensures survival|
|CONCACAF official Sanz banned by FIFA|
|Gourvennec shuns admirers with Guingamp extension|
|Pastore signs PSG extension|
|Morel swaps Marseille for Lyon|
|Watford sign Austria defender Prodl|
|Monaco confirm Berbatov departure|
|Peru v Mexico: Herrera confident as Copa preparations continue|
|Injury rules Dost out of Netherlands friendlies|
|Koeman must strengthen attack for Europa League challenge - McMenemy|
|Wilshere apologises for Spurs taunts|
|Marchisio: No fear ahead of Barcelona clash|
|Klopp to take break after leaving Dortmund|
|Champions League win would be ´more than extraordinary´ - Allegri|
|Charity calls for education after Leicester ´racist orgy´ claims|
|Taylor agrees Swansea deal|
|Sevilla snare Krohn-Dehli|
|Coloccini hails Gutierrez after ´perfect´ Newcastle finale|
|Benitez excited by Madrid opportunity|
|Sampaoli confirms final Chile squad for Copa America|
|Clement ready to go it alone at Derby|
|Mihajlovic confirms Sampdoria exit|
|Brentford turn to Dijkhuizen|
|Usami, Moto to lead Japan qualifying threat|
|Vieira ´the best bet´ for Newcastle - Bernard|
|´We´ll see what happens with my future´ - De Gea|
|Klinsmann: Guzan will start at Gold Cup|
|Alves wants Barca extension not PSG - Blanc|
|Derby appoint Paul Clement as head coach|
|Karlsruher ´can only win´ - Kauczinski|
|Ronaldinho causes stir with disallowed goal|
|Szczesny plans Arsenal stay|
|Pioli: Lazio deserve Champions League qualification|
|Pablo Aimar makes River Plate return|
|MLS Review: Seattle leave it late against Red Bulls|
|Wenger: Arsenal won´t spend big|
|Police to investigate Rangers-Motherwell fight|
|´I will definitely stay´ at City - Toure|
|Champagne backs Blatter to reform FIFA|
|Honduras 2 El Salvador 0: Penalty, goal and red card to Lozano|
|Mancini wants Icardi to stay|
|Sampdoria set to speak on Mihajlovic future|