A last-minute winner from Alen Halilovic decided a cagey basement battle between Las Palmas and Malaga on Monday night.
The Croatian produced a rare moment of quality in the game as he controlled the ball on his chest, before firing home a superb finish to secure all three points for Paco Jemez’s side.
Los Amarillos edged what was a dull game of few chances, and they now move level with 18th-placed Deportivo La Coruna on 17 points, two from safety, with Malaga a further four behind.
Leandro Chichizola beat away Keko’s effort in the Andalusians’ only real chance of the game, while Michel Machado and Oghenekaro Etebo both went close for the hosts.
However, Jonathan Calleri’s knock-down from Tana’s cross allowed former Barca midfielder Halilovic to hit the vital winner.