Real Madrid lost for the first time in La Liga this season as Rayo Vallecano came from behind to beat them.
Santi Comesana put Rayo in front early on but Luka Modric's penalty and an Eder Militao header meant Real led 2-1 before Alvaro Garcia made it 2-2.
Rayo's Oscar Trejo then had a second-half penalty saved, but it had to be retaken as goalkeeper Thibaut Courtois had come off his line too early.
Trejo scored the second time around to claim victory for Rayo.
Defeat meant La Liga and European champions Real missed the chance to return to the top of the table ahead of Barcelona, who remain two points clear after their 2-0 win at Almeria on Saturday.
Rayo move up to eighth and just two points outside the European places after a third successive victory.
A thrilling encounter featured 31 efforts at goal, though Real only managed two shots on target - with one particularly wild effort from Federico Valverde sailing out of the stadium and into the balcony of a nearby apartment.
An ill-tempered match also featured nine bookings and a red card for Rayo manager Andoni Iraola, who was dismissed for improper conduct following several outbursts at the referee.
"I wasn't surprised because we all know how they play. They were better and more precise than us today and it's a well-deserved win for them," said Real manager Carlo Ancelotti.
"We lost too many challenges. They were overwhelming. It doesn't matter if you have more quality if your rivals have more intensity than you.
"I think we started the season well but the team has felt the exhausting schedule ahead of the World Cup."
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
1 hour -
Priest replaced after Sabrina Carpenter shoots music video in his church
1 hour -
Duct-taped banana artwork sells for $6.2m in NYC
2 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
2 hours -
Actors Jonathan Majors and Meagan Good are engaged
2 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
2 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
2 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
2 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
3 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
3 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
3 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
3 hours -
Netflix debuts Grain Media’s explosive film
3 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
4 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
4 hours