MADRID — Barcelona will face Valencia in the semifinals of the Copa del Rey.

The defending champions will host the first leg at home on Wednesday, with the second match at Mestalla Stadium in Valencia on Feb. 7.

Sevilla will play Leganes in the other semifinal on the same dates.

Barcelona has won the last three cups and has a record 29 Copa del Rey titles. It also leads the Spanish league.

Valencia held Barcelona to a 1-1 draw at home in the league in November.

Sevilla will play the second leg at home against Leganes, a modest first-division club which eliminated Real Madrid in the quarterfinals.