An excellent Cristiano Ronaldo free-kick couldn't prevent Real Madrid from being dumped out of the Copa del Rey as a 2-2 draw at Celta Vigo allowed the hosts to progress to the semi-finals 4-3 on aggregate.
Hampered by a series of injuries, Real's hopes of turning the tie around were dealt a huge blow when Danilo's own goal handed Celta a lead just before half-time.
Ronaldo gave back Madrid hope with his first goal in the Copa del Rey in two years.
However, Daniel Wass restored Celta's lead five minutes from time before Lucas Vazquez's stoppage time header at least prevented Madrid from suffering a third defeat in four games.
Celta join Alaves and Atletico Madrid in Friday's semi-final draw. Barcelona have a 1-0 lead over Real Sociedad as they face Sociedad in the second leg of quarter-final on Thursday. Celta are now just three games away from a first ever major trophy.
It were the visitors who enjoyed the better chances early on. Celta's keeper Sergio Alvarez made a stunning save to turn Ronaldo's header onto the bar before the World Player of the Year hit the post with the goal gaping on the rebound.
Earlier on Wednesday, Atletico secured their place in the last four despite resting star forward Antoine Griezmann with a 2-2 draw at Eibar to progress 5-2 on aggregate.