Barcelona Lionel Messi and team mates warm up (Reuters)
Defending champion Barcelona will play third-division Murcia in the last 32 of the Copa del Rey.
Thursday's draw also pitted Real Madrid and Atletico Madrid against third-tier clubs. Madrid faces Fuenlabrada and Atletico plays Elche.
The first leg is in October.
Three-time defending champion Barcelona won last year's tournament in a final against Alaves, which plays fellow top-tier side Getafe.
Top-tier clubs Celta Vigo and Eibar also meet, as do Deportivo La Coruna and Las Palmas, and Girona and Levante.
Sevilla plays third-division club Cartagena.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)