Nasief Morris capped a magnificent late Recreativo Huelva fightback with an injury-time winner as the Andalusian club gave their hopes of avoiding the drop a massive boost with a 2-1 victory over 10-man Osasuna.
Recre, who slumped to bottom spot following Numancia's shock win over Malaga, looked sure-fire bets to go down after taking just one point from their previous eight games and recording only one win in 13.
And another nail looked to have been hammered into their relegation coffin when Osasuna took a 26th-minute lead through Walter Pandiani - an advantage the home side held until the 81st minute, despite having Sergio Fernandez sent off just after half-time.
Recre showed they still have fight left in them though as they turned the match on its head in the dying minutes to climb back off the foot of the table and to within a point of safety.
Substitute Ersen Martin started the comeback with a cool finish to level the scores, and then defender Morris popped up five minutes into injury time to lash home a brilliant volley at the far post and earn Recre the spoils.
For Osasuna, the result is a huge blow to their own hopes of staying up as they are now just two points above the bottom three and have to face Getafe, Sevilla, Barcelona and Real Madrid in their final four games.
The Pamplona-based side have lost their way recently, taking just one point from three games prior to this match, but they would have been quietly confident of getting back on track against seemingly hapless Recre.
Osasuna survived a couple of scares early on when goalkeeper Roberto was forced into saves from Sisi and Javi Fuego, but Jose Antonio Camacho's side soon settled down and managed to get their noses in front midway through the first half thanks to Pandiani.
It was as straightforward a goal as is likely to be scored in La Liga this weekend, with Cesar Azpilicueta launching a long throw into the area that Pandiani rose to meet near the penalty spot before sending a glancing header past Asier Riesgo.
That put Osasuna on the front foot and they were almost celebrating a second goal soon after when a cross was deflected just wide of the net with Riesgo in no man's land.
Recre rode their luck on that occasion, but fortune was on Osasuna's side in the 31st minute when Adrian Colunga struck the post from close range.
The visitors continued to push forward in search of an equaliser and Adrian was denied again, this time by a good save by Roberto, on the stroke of half-time.
Recre could not find a way through before the break, but they received a big helping hand in the 54th minute when Osasuna centre-back Sergio was shown a second yellow card for a body-check on the lively Adrian.
That was the fourth red card Osasuna had picked up in successive home matches, but despite the setback they actually looked the more likely scorers and Massoud Shojaei struck the woodwork before Jaroslav Plasil shot wide of the near post.
It was largely all Recre in the closing stages, though.
Roberto performed heroics to deny Adrian again in the 77th minute before Martin got the visitors level soon after.
Adrian's clever back-heel found Martin unmarked in the area, and he controlled the ball on his thigh before coolly rolling the ball into the bottom corner.
Recre, scenting their first win since March 1, then pushed forward in numbers and they were rewarded deep into injury time when the unmarked Morris volleyed home Fuego's deep cross.