Barcelona eased into the King's Cup last 16 when goals from Pedro, Cristian Tello and Neymar secured a 3-0 second-leg victory at home to third-tier Cartagena on Tuesday for a 7-1 aggregate success.
Barca had to come from a goal down to win the first leg at the modest club on the south coast, who compete in a division one below Barca's B team, 4-1.
Barca, the record winners with 26 Cups, will play top-flight rivals Getafe in the next round after they thumped second-division Girona 4-1 at the Coliseum in the Madrid suburbs to advance 5-2 on aggregate.
Osasuna survived late pressure to see off La Liga rivals Malaga on away goals and will play last season's runners-up Real Madrid or third-tier Olimpic de Xativa in the last 16.
Villarreal won 1-0 at fellow La Liga side Elche to go through 3-2 on aggregate and Levante thrashed second-division Recreativo 4-0 for a 4-1 success over the two legs.
Chelsea lose
Meanwhile in the League Cup in England, substitute Ki sung-Yueng drove in an extra-time winner to take the Premier League's bottom club Sunderland into the semifinals with a dramatic 2-1 victory over Chelsea on Tuesday.
Ki smashed home in the 118th minute after being teed up by Fabio Borini, who had come off the bench to force extra-time with an 88th-minute equaliser.
In the night's other quarterfinal, Edin Dzeko scored twice as free-scoring Manchester City booked their place in the semifinals with a 3-1 win at second-tier Leicester City.
Chelsea, third in the Premier League, looked on course to reach the last four after taking the lead when goalline technology adjudged that a combination of Frank Lampard and Sunderland's Lee Cattermole had bundled a cross over the line.
But they were pegged back two minutes from time when on-loan Borini steered an expert finish past two Chelsea defenders on the line from a tight angle.
The hosts then laid siege to the Chelsea goal and were rewarded two minutes from time when Ki smashed home a low drive to send the home crowd wild.