Real Madrid will face bitter rivals Barcelona in the Copa del Rey semi-finals after the draw was made at the Spanish FA's headquarters on Monday.
Osasuna will clash against Athletic Bilbao in the other semi-final.
The matches take place on four different dates in February, March and April with the Spanish FA having a schedule headache as Real Madrid play in the FIFA Club World Cup early in February and then two legs of the Champions League last 16.
Real and Barca meet in the first leg at Camp Nou on March 1 and will play the second leg at Santiago Bernabeu on April 4 or 5.
Osasuna will play Athletic on February 8 and March 1.
The semi-final represents a chance for LaLiga and European champions Real to get revenge for their 3-1 loss two weeks ago in the Spanish Super Cup against Barcelona.
Barca are currently the league leaders after they moved on to 47 points with their 1-0 win at Girona on Saturday. Real are second, five points behind.
The Desert Vipers got back to winning ways in the DP World ILT20 as they put up a scintillating performance to outclass the Sharjah Warriorz, and clinch a massive 10-wicket victory at the Dubai International Stadium on Wednesday.
Opener Abhishek Sharma's sensational power-hitting secured India's comprehensive seven-wicket victory against England in the opening T20 International at the Eden Gardens on Wednesday.
Defending champion Jannik Sinner shattered home hopes Wednesday by crushing Alex de Minaur in a straight-sets rout to tee up an Australian Open semi-final against Ben Shelton.
Borussia Dortmund have fired coach Nuri Sahin, the German football club said on Wednesday, after Tuesday's shock 2-1 loss to Bologna in the Champions League that stretched their losing run to four games across all competitions.
A rampaging Iga Swiatek stormed into her second Australian Open semi-final with a 6-1 6-2 centre court demolition of eighth seed Emma Navarro on Wednesday, while Madison Keys overhauled Elina Svitolina 3-6 6-3 6-4 in the earlier quarter-final.