Six Copa Dey Rey round of 32 second-leg ties took place on Tuesday night.
Barcelona played host to Cartagena with a healthy 4-1 lead from the first leg of the tie, while the game between Osasuna and Malaga was precariously balanced at 3-3 from the opening match.
Villarreal were looking to make home advantage count as they played host to Elche after a 2-2 draw in the first leg.
Recreativo Huelva claimed a stunning 1-0 win over top-flight Levante in the first leg, but could they defend their lead successfully?
Real Madrid and a number of La Liga clubs were also in action across the week as they chased a place in the last 16.
Goals from Pedro, Christian Tello and Neymar were enough for Barcelona to cruise into the last 16 of the Copa Del Rey with a 7-1 aggregate win over Cartagena.
The Camp Nou side were already leading 4-1 from the first leg, and any slim hopes of a shock comeback by the minnows were ended in the 31st minute when Pedro clipped a Martin Montoya ball into the roof of the net.
Tello netted a second of the night in the 69th minute when his cross deflected off defender Mariano Martinez and beat goalkeeper George Savu at his near post.
Neymar completed the scoring with 15 minutes remaining when Barcelona substitute Andres Iniesta sent over a delightful cross for the Brazilian to rattle home.
While Barcelona's progress was never in doubt, the match was notable for the return of captain Carles Puyol for his first game of the season after injury.
Eliseu Pereira (right) equalised for Malaga, but it was not enough to defeat Osasuna.
Osasuna claimed a potential last-16 tie against Real Madrid after seeing off the challenge of Malaga on the away-goals rule.
After a pulsating 3-3 draw in the first leg in which the visitors came from three goals down, Osasuna went ahead in the first minute of the second in Pamplona when Malaga defender Weligton turned the ball into his own net.
Eliseu Pereira levelled the score for Malaga with 30 minutes of the game remaining, but the home side held out to set up a clash with either Real or Olimpic de Xativa in the next round.
Ruben Garcia was on target for Levante in the 4-0 win over Recreativo Huelva.
Levante 4-0 Recreativo Huelva (agg: 4-1)
Levante made no mistake in the return after slipping to a 1-0 defeat to the second-tier Recreativo Huelva in the first match.
Simao Mate, Ruben Garcia, Andreas Ivanschitz and David Barral were all on target in a 4-0 win, which sent the La Liga side through on a 4-1 aggregate.
Granada 0-2 Alcorcon (agg: 2-2, Alcorcon win 5-4 on penalties)
The biggest surprise of the night came as Alcorcon overturned a two-goal deficit to defeat Granada 5-4 on penalties.
Verdes headed home in the 40th minute to give the visitors hope of remaining in the tie, and Nagore levelled the match with nine minutes of normal time remaining.
Extra-time could not separate the two teams, and the tie went to the lottery of a penalty shoot-out.
Both sides scored from their opening four spot-kicks, but after Jony had put Alcorcon 5-4 ahead, Jeison Murillo missed for the La Liga side.
Elche 0-1 Villarreal (agg: 2-3)
Villarreal striker Jeremy Perbet scored the only goal of the game to knock Elche out of the competition.
The home side had claimed a creditable 2-2 draw from the first leg, but were unable to claw back the deficit after Perbet's 58th-minute strike.
Getafe 4-1 Girona (agg: 5-2)
Getafe lined up a last-16 clash with Barcelona after a thumping 4-1 win over Girona.
Pablo Sarabia, Adrian Colunga, Angel Lafita and Lisandro Lopez were all on target as the home side swept away their opponents.
Atletico Madrid won 2-1 at home to Sant Andreu on Wednesday to complete a comfortable 6-1 aggregate victory.
The visitors took a surprising 15th-minute lead through Alberto Carroza, but Atletico scored twice in the second half to overturn the deficit.
Hector Hernandez equalised in the 78th minute, and Toby Alderweireld added the winner in stoppage time.
Asier Illarramendi and Angel Di Maria scored in the first half to give Real Madrid a 2-0 victory at home to Olimpic on Wednesday. The scoreline was enough for a 2-0 aggregate win for the Blancos.
Cristiano Ronaldo was suspended and did not play for the hosts, who went ahead via Illarramendi in the 16th minute.
Di Maria doubled the lead 12 minutes later with a penalty.
Almeria 0-0 Las Palmas
Almeria and Las Palmas played out a scoreless draw, with Almeria advancing 3-1 on aggregate following their first-leg win away from home.
Real Betis 2-2 Lleida
Primera Division side Real Betis received a scare from Lleida but advanced 4-3 on aggregate following a 2-2 draw.
The home side were ahead 2-0 through 10 minutes, but Lleida pulled one back through Javier Monforte in the 38th minute. Jamie Mata added the second in the 55th minute, but the visitors could not find a winner to take them into the next round.
Real Sociedad 4-0 Algeciras
Real Sociedad completed a 5-1 aggregate victory with a 4-0 win in Wednesday's second leg.
Javier Ros (39'), Haris Seferovic (67') Antoine Griezmann (70') and Carlos Vela (74') scored the goals.
Sevilla 0-2 Racing Santander
Third-tier Racing Santander won 2-0 at 10-man Sevilla to knock the Primera Division side out of the cup.
Sevilla's Stephane M'Bia was sent off in the 62nd minute, and a minute later Racing Santander went ahead via David Miguelez's penalty. Mamadou Kone then struck in the 90th minute to secure a 2-1 aggregate victory for the visitors.
Valencia were made sweat for their passage to the last 16 of the Copa del Rey by Gimnastic de Tarragona at the Mestella on Thursday night.
The La Liga club were expected to progress comfortably through the round of 32 after a 0-0 draw in the first leg away from home.
However, they had to rely on a 37th-minute goal by Francisco 'Paco' Alcacer to ensure progress into the next round.
Paco was on hand to turn home a low cross from Andres Guardado to see Valencia through to the last 16.
Rayo Vallecano 3-1 Real Valladolid (agg: 3-2)
Adrian scored twice as Rayo Vallecano came from behind to see off the challenge of Real Valladolid on Thursday night.
After a 0-0 draw in the first leg, Valladolid stunned their hosts when Javi Guerra opened the scoring in the 28th minute.
However, Vallecano hit back through Adrian four minutes later, before the midfielder grabbed a second three minutes before the end of the game.
Vallecano forward Alberto Bueno added a third goal for the home side two minutes into injury time.
Espanyol 2-0 Real Jaen (agg: 4-2)
Goals from Simao Sabrosa and Sidnei ensured there would be no shock in the second leg against Real Jaen on Thursday night.
After a hard-fought 2-2 draw in the first game between the two sides, Espanyol were relieved to see Simao open the scoring in the 12th minute.
However, the home fans were made to wait until the 85th minute to cheer victory when Sidnei grabbed a second for Espanyol.
Athletic Bilbao 4-0 Celta Vigo (agg: 4-1)
Iker Muniain scored twice as Athletic Bilbao overturned a first-leg deficit by winning 4-0 at home to 10-man Celta Vigo. With the victory, Athletic advanced 4-1 on aggregate.
Muniain opened the scoring in the 21st minute before Markel Susaeta made it 2-0 just before half-time.
Celta Vigo had Hugo sent off early in the second half, and Athletic added two goals with the one-man advantage. Muniain grabbed his second in the 80th minute, and Aritz Aduriz rounded off the scoring six minutes later.