Deportivo La Coruna recorded back-to-back victories for the first time this season after a 3-2 win over relegation rivals Real Mallorca.
Victor Casadesus gave Gregorio Manzano's side the lead but a wonderful goal from Silvio put Deportivo back on level terms.
Carlos Marchena put the visitors ahead early in the second half and Riki extended their advantage, before Alfaro scored a late goal to set up a tense finish.
It was the Galicians first won away from home this season and although they remain bottom of the Primera Division table, they moved to four points from exiting the relegation zone and survival is now a realistic possibility for Fernando Vazquez's side.
Osasuna's hopes of avoiding relegation were handed a huge boost after they came from behind to beat Valladolid 3-1.
An own goal by centre-back Ruben gave the hosts an early lead but two goals by Kike Sola within 10 minutes after half-time put Jose Mendilibar's side in the lead, before Miguel De Las Cuevas scored his first goal for the club to make sure of the points.
Patrick Ebert made his first appearance for Valladolid in over 10 weeks after finally recovering from a thigh injury, while Osasuna were boosted by the return of top scorer Sola, who missed their last league match, a 2-0 defeat at home to Atletico Madrid.
Real Sociedad's push for a top-four finish suffered a slight setback as they were held to a 2-2 draw at Espanyol.
While victory would have been a significant boost to their Champions League aspirations, they may have left the Cornella-El Prat thankful for a point as Javi Lopez's own-goal 14 minutes from time denied the hosts maximum points.
It was the second time Sociedad had come from behind in the match, David Zurutuza scoring either side of strikes from Sergio Garcia and Christian Stuani in a busy first half.
Meanwhile, Atletico Madrid has failed to move back into second position on the La Liga table after playing out a 1-1 draw against Valencia.
Both goals game in quick succession early in the match with Jonas' opener quickly followed by a strike from Atletico's Radamel Falcao.