Holders Barcelona will play third division Hercules in the Spanish King’s Cup round of 32 following Friday’s draw which also paired Real Madrid with minnows Cultural Leonesa.
The competition’s format ensures the top six teams in La Liga last season meet the lowest ranked sides left in the last 32, the first round to involve teams from the top flight.
Formentera, the only representative from the fourth tier, will meet last season’s runners-up Sevilla.
La Liga leaders Atletico Madrid will play Guijuelo from Salamanca province while Athletic Bilbao meet former La Liga mainstays Racing Santander and Villarreal face Toledo.
The first legs take place between Nov. 29 and Dec. 1, the second from Dec. 20-22
Real Madrid, expelled from the competition last season for fielding a suspended player, will play their games on Oct. 28 and Nov. 31 due to their participation in the Club World Cup.