Barca was duly handed a clash with Espanyol before Atletico Madrid and Sevilla were paired together. The other quarter-final will see Valencia take on Alaves, last year's runner-up.

Espanyol's hopes of making the last four appear slim, to say the least. It has failed to win any of its previous nine knockout ties with Barca in the Copa, last eliminating them from the event in 1961, and is without a victory in 17 league matches against its rivals.

Madrid, meanwhile, has won all four of the competitive matches it has played against Leganes.

The quarter-final ties are scheduled to take place on the weeks beginning January 15 and 22.

Copa del Rey quarter-finals

Leganes v Real Madrid

Espanyol v Barcelona

Atlştico Madrid v Sevilla

Valencia v Alaves

Subscribe to our daily newsletter

Get your daily dose of Sportstar with handpicked stories delivered right to your inbox!