Ten-man Rayo Vallecano gave their survival bid a massive shot in the arm with a 2-0 win over fellow strugglers Getafe at Campo de Futbol de Vallecas on Friday night.
The hosts got off to a good start when Javi Guerra opened the scoring on the quarter-hour mark, but then found themselves reduced to 10 men moments later when goalkeeper Rodriguez Yoel was sent off for picking up two bookings in quick succession.
However, Los Franjirrojos continued to control proceedings nonetheless as they managed to hold off their Madrid rivals before Miku secured victory 19 minutes from time to take them three points clear of the bottom-three, where Azulones are perched in 18th place, level on 28 points with Granada sandwiched in between the two teams.
It was a fiery encounter in the Spanish capital, which saw the referee brandish nine yellow cards and a red.
The visitors were asking all the questions in the opening stages, though, with Alvaro Medran shooting wide of the target from a narrow angle on the left on two minutes, while Pablo Sarabia forced a save out of Yoel with the strike from just inside the area five minutes later.
But it was Rayo who drew first blood when Guerra slotted home from point-blank range on 15 minutes following a corner, before Yoel saw red for conceding a foul and then insulting the ref.
Juan Carlos was his way onto the pitch, but was rarely tested for the remainder of the first half, which ended with a spate of bookings as tempers flared in the closing stages.
Pablo Hernandez and Guerra failed to test the visiting keeper with their respective efforts early in the second half, before Quini went close on 70 minutes with a shot from 14 yards out that drew a save out of Vicente Guaita.
However, Guaita was beaten again shortly afterwards as Miku got on the end of Hernandez's cross to steer the ball home from six yards out to seal a vital three points for Rayo.