Holders Barcelona set up a King's Cup football semi-final with their arch-rivals Real Madrid after a thrilling 4-2 second leg win in Malaga.
The La Liga leaders progressed 6-4 on aggregate after drawing 2-2 in the Nou Camp last week, with goals from Pedro, Gerard Pique and late strikes from Andres Iniesta and Lionel Messi putting them through.
Jose Mourinho's Real beat Valencia 3-1 on aggregate, despite having two players sent off in their 1-1 second-leg draw at the Mestalla.
On the other side of the draw, Atletico Madrid set up a last four encounter with Sevilla after drawing 1-1 at their city rivals Real Betis to progress 3-1 on aggregate.
Sevilla, who beat Atletico 2-0 in the 2010 Cup final, swept aside Real Zaragoza 4-0 on aggregate in their quarter-final.
The semi-final first legs are scheduled for next week.