Granada secured a return to LaLiga despite drawing 1-1 at Mallorca after Albacete were beaten 2-1 at home by Malaga on Tuesday.
Albacete were seeking a win to keep their hopes of automatic promotion alive in the penultimate round of second-tier fixtures in Spain.
But goals from Javi Ontiveros and Alfred N’Diaye put Malaga in control and, despite Roman Zozulya pulling a goal back, they were unable to turn the game around.
Granada needed an 89th-minute leveller from Fede to draw 1-1 at promotion hopefuls Mallorca, but they now hold a five-point gap over Albacete and Malaga with just one game to go.
It means Granada will again play in LaLiga after a two-year exile in the second tier.