MADRID — Real Madrid will face Leganes in the Copa del Rey for the second consecutive season.

The Madrid clubs were drawn as opponents in the tournament's round of 16 on Thursday.

Leganes eliminated Real Madrid in the quarterfinals last year, winning the second leg at Santiago Bernabeu Stadium. They will play the first leg there this season.

Four-time defending champion Barcelona will face Levante and Atletico Madrid will take on Girona.

Sporting Gijon, the only second-division club still in the tournament, will play Valencia.

The other matchups are Sevilla vs. Athletic Bilbao, Villarreal vs. Espanyol, Getafe vs. Valladolid and Real Betis vs. Real Sociedad.

The first-leg matches of the round of 16 will be played the first week of January.

Video review will be used starting in this round.

___

More AP soccer: https://apnews.com/apf-Soccer and https://twitter.com/AP_Sports