Madrid to face 2nd-division club Zaragoza in last 16 of Copa
The round of 16 will still be played in single-elimination games. Only the semifinals will be decided with a home-and-away series this season.
Madrid will play at Zaragoza, while Barcelona will host Leganés.
There were no restrictions involving the top-flight teams in the draw, except that the the lower-division clubs would get to play at home.
Zaragoza got past top-flight team Mallorca in the round of 32, while relegation-threatened Leganés ousted third-tier club Ebro. Barcelona and Madrid eliminated third-division clubs Ibiza and Unionistas de Salamanca, respectively.
Badajoz, the other third-division club in the draw, will host Granada.