Match ends, Sevilla 2, Real Madrid 1.
Real Madrid's 40-match unbeaten run in all competitions was brought to an end as ex-Manchester City forward Stevan Jovetic scored a dramatic stoppage-time winner for title rivals Sevilla.
Cristiano Ronaldo's penalty had put the visitors ahead after Dani Carvajal had been fouled by Sevilla goalkeeper Sergio Rico.
Sergio Ramos' late own goal against his former club levelled the scores.
Substitute Jovetic beat Kaylor Navas from distance to win it.
Navas, who appeared to be out of position, did get a hand on Jovetic's effort but could not stop it from hitting the net.
It was Jovetic's second goal in as many games since joining on loan from Inter Milan.
Real's first defeat since 6 April means their lead at the top of La Liga has been cut to one point, although Zinedine Zidane's side have a game in hand over their title rivals.
Sevilla move above Barcelona to second in the table after a fourth straight league win.
Seven minutes that changed the title race
All seemed to be going smoothly for Zidane's team as Ronaldo silenced a hostile crowd by slotting his side ahead from the spot.
Karim Benzema had already blazed a close-range chance over the bar yet Ronaldo's goal put Real, chasing a first La Liga title since 2012, in command midway through the second half.
Their downfall started when Ramos, who had upset Sevilla fans three days earlier with his goal celebration in Real's Copa del Rey last-16 tie, headed into his own net while attempting to clear Pablo Sarabia's set-piece.
Real were rattled and Jovetic's fine strike after Real had lost the ball from a throw-in was celebrated wildly by the home fans in the Ramon Sanchez Pizjuan.
Zidane's side are still well placed to be crowned champions of Spain for the first time in five years.
Yet this result will fill Barcelona with hope of overtaking their arch-rivals, with just two points separating them as the season approaches its midway point.
Will Sevilla be celebrating in May?
It is 71 years since Sevilla won La Liga but Jorge Sampaoli's side have very real hopes of ending that drought this season.
The Argentine, who masterminded Chile's 2015 Copa America success, has proved a revelation since taking charge last summer.
This was their 12th win in 18 league games under the 56-year-old - and by far the most eye-catching.
Their success has largely been down to a combination of hard work and determination, ingredients which have also earned them a passage into the last 16 of the Champions League and a meeting with Leicester City.
'This changes nothing'
Real Madrid boss Zinedine Zidane: "The result changes nothing.
"We played well against a great side and did the hardest thing to do which was to score and then with only a few minutes to go, they caught us out twice.
"We feel disappointed but I feel very proud of everyone for what we did up until now.
"We knew we were always going to have a day like this and today is the day, but we have to keep working as hard as we have in all competitions."
Line-ups
Sevilla
Formation 4-2-3-1
- 1Rico
- 3Ferreira Filho
- 21Martín Pareja
- 23Rami
- 18EscuderoBooked at 66mins
- 8IborraBooked at 31minsSubstituted forSarabiaat 77'minutes
- 15N'Zonzi
- 22VázquezSubstituted forJoveticat 68'minutes
- 10NasriBooked at 81mins
- 20Machín Pérez
- 12Ben YedderSubstituted forViettoat 86'minutes
Substitutes
- 4Kranevitter
- 5Lenglet
- 9Vietto
- 13Soria Solís
- 16Jovetic
- 17Sarabia
- 24Mercado
Real Madrid
Formation 3-5-2
- 1Navas
- 5Varane
- 4Ramos
- 6Nacho
- 2Carvajal
- 19Modric
- 14Casemiro
- 8KroosSubstituted forKovacicat 75'minutes
- 12MarceloBooked at 84mins
- 9Benzema
- 7Cristiano Ronaldo
Substitutes
- 13Casilla
- 16Kovacic
- 17Vázquez
- 18Mariano
- 20Asensio
- 21Morata
- 23Danilo
- Referee:
- Alejandro José Hernández Hernández
- Attendance:
- 40,386
Match Stats
- Possession
- Home58%
- Away42%
- Shots
- Home9
- Away10
- Shots on Target
- Home4
- Away3
- Corners
- Home6
- Away1
- Fouls
- Home13
- Away10
Live Text
Post update
Full Time
Second Half ends, Sevilla 2, Real Madrid 1.
Goal!
Goal! Sevilla 2, Real Madrid 1. Stevan Jovetic (Sevilla) right footed shot from outside the box to the bottom right corner. Assisted by Vitolo.
Post update
Hand ball by Cristiano Ronaldo (Real Madrid).
Post update
Stevan Jovetic (Sevilla) wins a free kick in the attacking half.
Post update
Foul by Raphael Varane (Real Madrid).
Post update
Corner, Sevilla. Conceded by Sergio Ramos.
Post update
Attempt blocked. Stevan Jovetic (Sevilla) right footed shot from the left side of the box is blocked. Assisted by Vitolo.
Post update
Foul by Stevan Jovetic (Sevilla).
Post update
Casemiro (Real Madrid) wins a free kick in the defensive half.
Substitution
Substitution, Sevilla. Luciano Vietto replaces Wissam Ben Yedder.
Goal!
Own Goal by Sergio Ramos, Real Madrid. Sevilla 1, Real Madrid 1.
Booking
Marcelo (Real Madrid) is shown the yellow card for a bad foul.
Post update
Mariano (Sevilla) wins a free kick on the right wing.
Post update
Foul by Marcelo (Real Madrid).
Post update
Corner, Sevilla. Conceded by Luka Modric.
Booking
Samir Nasri (Sevilla) is shown the yellow card for a bad foul.
Post update
Foul by Samir Nasri (Sevilla).
Post update
Casemiro (Real Madrid) wins a free kick in the defensive half.
Post update
Foul by Steven N'Zonzi (Sevilla).