Adrian Embarba struck from the penalty spot as Rayo Vallecano grabbed a LaLiga lifeline with a shock victory over Real Madrid.
The decisive moment came in the 23rd minute after referee Pablo Gonzales Fuertes had been asked to review Jesus Vallejo's challenge on Javi Guerra and handed Embarba the chance to fire his side ahead.
Real turned in a disjointed display and rarely looked like dragging themselves back into the game, with Rayo good value for a 1-0 win which leaves them six points adrift of safety with three games to play, but with hope renewed.
The race for the final Champions League qualifying spot is no nearer a resolution after three of the clubs in the running all lost on Sunday.
Valencia could have pulled level on points with Getafe and Sevilla - fourth and fifth respectively - with victory over Eibar in the early kick-off.
However, a stoppage-time goal from substitute Charles saw them fall to a 1-0 defeat at the Mestalla, opening the door for their rivals, who played later in the day, to pull clear.
But neither Sevilla nor Getafe were able to enhance their case for a place at Europe's top table.
Sevilla went down 1-0 at Girona, with Cristian Portu netting the winner before the visitors had Ever Banega sent off for kicking out in the fifth minute of stoppage time.
Getafe then blew a chance to strengthen their grip on fourth place, losing 2-1 at Real Sociedad.
A Willian Jose penalty and Mikel Oyarzabal strike gave Sociedad a cushion and Samuel Saiz's 89th-minute goal was as much as Getafe could muster in response.
Ezequiel Avila kept Huesca's faint survival hopes alive, if only just, with a late equaliser against Villarreal.
Pablo Fornals had given the home side a 30th-minute lead with a rabona finish and they defended it until 12 minutes from time when Avila snatched a 1-1 draw from Moi Gomez's cross before skipper Jorge Pulido's stoppage-time dismissal.