Real Madrid were handed a humiliating Copa del Rey last-32 defeat by third division outfit Alcoyano - who were down to 10 men.
Zinedine Zidane's side took the lead through defender Eder Militao but Jose Solbes took the tie to extra time.
Alcoyano - who play in Segunda Division B - had Ramon Lopez sent off for a second booking but earned a famous win when Juanan stole in at the near post.
"Crazy," Juanan said. "If it was impossible with 11 - imagine with 10."
Real are 19-time winners of the Copa del Rey, but have not lifted it for seven years and have only won it twice since 1993.
Incredibly, this is the fifth time a team from the third tier has eliminated them since 2001.
Real were without captain Sergio Ramos - who is out of contract this summer and could leave the club after 16 years - as Zidane made nine changes from the team who lost to Athletic Bilbao in the Super Cup.