New Granada boss Lucas Alcaraz enjoyed a dream first game in charge as his side pulled off a shock 1-0 victory over Real Madrid at the Estadio Nuevo Los Carmenes.
Alcaraz took over this week following the sacking of Juan Antonio Anquela, who left with the club in 17th place in the standings, two points above the relegation zone.
Osasuna's win over Celta Vigo meant Granada had dropped into the bottom three by kick-off, but they climbed out again thanks to an own goal from Cristiano Ronaldo.
Karim Benzema's horrible miss six minutes from time summed up a poor evening for Madrid, who struggled to create many clear-cut chances throughout the game.
Getafe registered their first win in 10 games as they came from a goal and a man down inside 11 minutes to beat Deportivo la Coruna 3-1.
Miguel Angel Moya was sent off for bringing down Riki inside the area early on and Pizzi converted the resulting penalty to give the visitors the perfect start.
However, the hosts were level at the break as Diego Castro also scored from the spot after Ze Castro had upended Abdel Barrada, and when Depor's Abel Aguilar was sent off for a second bookable offence with 20 minutes to go, Luis Garcia's men took full advantage with two goals in two minutes from Alvaro Vasquez and Adrian Colunga.
Emiliano Armenteros' second-half strike was enough to move Osasuna out of the relegation zone as they leapfrogged Celta Vigo with a 1-0 win at the Reyno de Navarra.
The winnng goal arrived 10 minutes after the break as Lolo cushioned a header into the Argentine's path and he rifled the ball low past Javi Varas to register just his third goal and Osasuna's fourth home league win of the season.
Espanyol continued their climb away from the relegation zone with a deserved 3-2 home win over Levante.
Espanyol dominated the opening period but relied on Vicente Iborra's own goal to hold a 1-0 half-time lead they relinquished almost immediately after the break to Ruben's clever header.
Two goals in as many second-half minutes from Christian Stuani and Sergio Garcia effectively secured a win that was made to look more nervy after a late Obafemi Martins strike but they held on to go five points clear of the bottom three.