Real Sociedad took a huge step towards qualifying for the UEFA Champions League with a crucial 4-2 comeback win against Valencia, while Malaga also grabbed three points against Getafe.
Borussia Dortmund coach Jurgen Klopp admits his side rode their luck in the dramatic 3-2 win over Malaga which put them into the UEFA Champions League's semi-finals at the expense of the tournament debutants.
Malaga's UEFA Champions League run has extended into the quarter-finals after goals from Isco and Roque Santa Cruz put the hosts past Porto 2-1 on aggregate.
Barcelona fought hard to gain a 4-2 win at Malaga to set up a Copa del Rey semi-final with Real Madrid, while Atletico Madrid progressed past Real Betis.
Malaga moved above Betis into fourth spot thanks to goals from Joaquin, Javier Saviola, Ignacio Camacho and Roque Santa Cruz saw them thrash Granada 4-0, while Ernesto Valverde won his first league game in charge of Valencia.
Francisco Portillo, Javier Saviola, Roque Santa Cruz and Isco all found the net as Malaga thrashed Valencia 4-0 at home in La Liga.