Cadiz won an eight goal thriller at the Benito Villamarin as they dispatched of Real Betis by five goals to three.
It took the Segunda side just three minutes to open the scoring and level the tie up on aggregate, David Barral finding the bottom corner.
Betis were level just five minutes later though, Ryad Boudebouz’s deflected free kick deceiving the Cadiz goalkeeper.
Daniel Romera soon had the Yellows back in front as he nodded home a well worked corner.
Betis were not behind for long again however as Christian Tello fired home a wonderful strike on the angle.
However, the madcap start continued on 26 minutes when Aitor Garcia slotted home a penalty after Barral had been fouled by Betis keeper Dani Gimenez.
The lower league side made it 4-2 before half time with Romera notching his second from close range.
Tello got his second on 65 minutes finishing well after some neat control but Cadiz wrapped up the game with twelve minutes left, Ivan Kecojevic heading home from a corner.
The result saw Cadiz go through 6-5 on aggregate.
Espanyol survived a scare at home to Tenerife as they came from behind to win 3-2 at the RCDE Stadium.
Bryan Acosta put the visitors in front with a wonderful strike from distance on 10 minutes.
Gerard Moreno smashed home from the penalty spot to make it 1-1 before Esteban Granero found the corner from 20 yards on 57 minutes to make it 2-1.
Sergio Garcia wrapped the game up in stoppage time with a tidy finish but there was still time for Juan Carlos to smash home a consolation but it was the La Liga side who progressed 3-2 on aggregate.
Villarreal were able to overturn a 1-0 first leg deficit as second half goals from Cedric Bakambu and Carlos Bacca helped them win 3-0 against Ponferradina.
Bakambu opened the scoring within two minutes of the restart, forcing home from close range. He made it two on 62 minutes with another scrappy finish from a yard out and twin minutes later Bacca wrapped it up with a composed finish from inside the box.
Elsewhere, Alaves had a comfortable evening against Getafe winning 4-0 on aggregate.
Leading 1-0 from the first leg the home side scored after just three minutes with Munir slotting home from 15 yards.
Bojan Krkic got his first goal for the club on 31 minutes to double the lead and Munir finished tidily in the second half to complete a comfortable victory.
Valencia are the final team into the last 16 draw, winning 4-1 against Zaragoza at the Mestalla.
Santi Mina rolled home after nice build up play with Simone Zaza. The two combined again in the second half when Mina finished after Zaza saw his shot saved.
Robert Ibanez slammed home number three before Ruben Vezo headed home a fourth from a corner.
Jorge Pombo scored a consolation for the visitors with a nice header from Javier Ros’ cross but the La Romareda side exit the competiton 6-1 on aggregate.
Leganes, Numancia, Celta Vigo, Levante, Real Madrid, Barcelona, Lleida Esportiu, Sevilla, Formentera, Atletico Madrid, Las Palmas, Alaves, Espanyol, Villarreal, Cadiz and Valencia are the final 16 and the draw for the next round takes place on December the 23rd.
Alaves 3-0 Getafe (Agg 4-0) Espanyol 3-2 Tenerife (Agg 3-2) Villarreal 3-0 Ponferradina (Agg 3-1) Real Betis 3-5 Cadiz (Agg 5-6) Valencia 4-1 Real Zaragoza (Agg 6-1)