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
-
Crystal Palace beat Fulham to book FA Cup semi-final spot
1 hour -
Forest beat Brighton on penalties to reach FA Cup semi-final
1 hour -
MTN FA Cup 2024/25: Berekum Chelsea book semis slot with win over Bechem United
1 hour -
Ghana Navy probes suspected pirate attack on fishing vessel
3 hours -
2024/25 FA Cup: Attram De Visser stuns PAC Academy to reach first-ever semifinal
3 hours -
‘Shocking and excessive’ – Lawyer challenges $18m verdict in Anas-Kennedy Agyapong case
5 hours -
Parliament approves GH₵2.8bn for road maintenance
5 hours -
Minority Chief Whip raises concerns over ambiguities in Gold Board bill
6 hours -
Mahama warns leaders against ‘decisions that kill’ after debt crisis claims lives
6 hours -
Wisconsin Attorney General sues to block Elon Musk $2m election giveaway
6 hours -
Disney faces US investigation over DEI practices
6 hours -
Hair relaxers linked to increased breast cancer risk in Ghanaian women
6 hours -
Columbia University president resigns amid Trump crackdown
6 hours -
CJ removal petition: Citizens must not sit back and watch politicians to get their way – NPP MP
6 hours -
Thousands gather to bid farewell to ageless Ga music icon Naa Amanua Dodoo
7 hours