Four Spanish teams participated in the draw for the Europa League playoffs, with Barcelona, Sevilla, Real Betis and Real Sociedad all finding out their opponents for the knockout rounds.
The Blaugrana will face Napoli, while Julen Lopetegui's men will take on Dinamo Zagreb, Betis will play Zenit Saint Petersburg and Real Sociedad have been drawn against RB Leipzig.
Xavi Hernandez's team were unlucky as Napoli were considered as the strongest of the seeded teams, with the Italian side currently sitting fourth in the Serie A table.
For their part, six-time Europa League winners Sevilla will face the Croatian side, who finished second behind leaders West Ham in Group H, while Betis will have to travel to Russia in February, and the Basques will take on a struggling RB Leipzig who recently dismissed coach Jesse Marsch.
As for the rest, Greek champions Olympiacos play Atalanta, Borussia Dortmund face Rangers, Sheriff Tiraspol take on Braga and Porto will have to overcome Lazio to go through to the last 16.
The winners of the playoff will then take on the Europa League group stage winners in the round of 16.
The Europa League playoff draw in full
Barcelona (ESP) vs Napoli (ITA)
Zenit (RUS) vs Real Betis (ESP)
Dortmund (GER) vs Rangers (SCO)
Sheriff (MDA) vs Braga (POR)
Sevilla (ESP) vs Dinamo Zagreb (CRO)
Atalanta (ITA) vs Olympiacos (GRE)
Leipzig (GER) vs Real Sociedad (ESP)
Porto (POR) vs Lazio (ITA)