Atletico Madrid suffered a shock exit from the Copa del Rey as Girona claimed a 3-3 second-leg draw to advance to the last eight on away goals.
Atletico made the perfect start through Nikola Kalinic's opener.
Valery Fernandez and Cristhian Stuani struck to swing the tie Girona's way before Angel Correa's equaliser.
Antoine Griezmann's goal looked to have put the hosts into the next round but Seydou Doumbia scored with two minutes left to send Girona through.
There was more bad news for an Atletico side already missing several first-team regulars to injury, with Spain midfielder Saul Niguez forced off with a muscle problem early in the second half.
In the other Copa del Rey last-16 second leg ties on Wednesday, Leganes beat Real Madrid 1-0, although Real advance 3-1 on aggregate.
Martin Braithwaite - who is on loan Leganes from Middlesbrough - scored from close range for the only goal of the game after his earlier header had hit the post.
Real, without the injured Karim Benzema and Gareth Bale and with Luka Modric and Sergio Ramos rested, needed goalkeeper Keylor Navas to make a number of saves.
Sevilla, third in La Liga, also reached the last eight, beating Athletic Bilbao 3-2 on aggregate, despite losing 1-0 at home in the second leg thanks to a goal from Gorka Guruzeta.