Richmond Boakye struck with the final kick of the match to earn Elche a vital victory over fellow Spanish La Liga strugglers Getafe.
After 92 goalless minutes, the on-loan Juventus striker made it 1-0 by heading in Carles Gil's cross. The victory put four points between the two teams, easing Elche's fears but dropping Getafe into the relegation zone after Real Valladolid held on for a goalless draw at home to European-chasing Valencia.
Sevilla moved closer to a UEFA Champions League place with a dominant 4-1 win at home to Espanyol. Stephane M'bia netted his first goal in over four months to open the scoring, and Kevin Gameiro doubled the advantage on the stroke of half-time.
That lead was then reduced by Sergio Garcia's penalty at the start of the second half, but Gameiro struck again with five minutes remaining and Ivan Rakitic added to the goals in the final minute. It was the result Unai Emery's side needed to put pressure on Athletic Bilbao, who play on Monday, for the final Champions League position.
Malaga earned a first home win in two months in emphatic fashion against Granada. Bernd Schuster's side beat Real Betis away last weekend to climb five points clear of the relegation zone and they made it welcome back-to-back wins on Sunday, with a first-half brace from Ignacio Camacho setting them on their way to a 4-1 triumph.
Youssef El Arabi missed a penalty moments before the break that would have given Granada hope, and Malaga capitalised with a third from Nordin Amrabat before Juanmi completed the rout. El Arabi made amends for his earlier miss by netting 12 minutes from the end, but it was scant consolation.