Barcelona will meet Valencia in the semi-finals of the 2017-18 Copa del Rey as they continue their campaign to win the tournament for a fourth season in succession.
Friday's draw confirmed the other last-four clash will see Leganes go up against Sevilla.
The Spanish Football Federation confirmed the semi-final lineup on Friday:
The first legs of both clashes will take place next week with the second legs scheduled for the week commencing Feb. 5.
Leganes are the only side left in the draw who have never won the Copa del Rey in the past.
They stunned Real Madrid to reach the last four, downing Los Blancos 2-1 at the Santiago Bernabeu on Wednesday to advance on away goals after a 2-2 aggregate draw.
Barca, meanwhile, have won the Copa a record 29 times and are favourites to make it 30 after they overturned a 1-0 first-leg deficit by beating Espanyol 2-0 on Thursday at the Camp Nou.
Barca's last-four opponents Valencia are seven-time winners of the tournament and came through their quarter by beating Alaves on penalties.
Sevilla last won the Copa del Rey in 2010 for their fifth title and lost to Barca in the 2016 final.
A repeat of that clash is a likely prospect in the 2018 final, scheduled for April 21, as Sevilla will be favourites to down Leganes over two legs.