Real Mallorca's promotion to La Liga was confirmed on Tuesday after third-placed Almeria lost 3-2 at Cartagena.
The Balearic Island side make an immediate return to the top flight alongside Espanyol, who were also relegated last season.
Second-placed Mallorca are six points behind Espanyol, who beat Ponferradina 4-1 away on Tuesday, with three matches to play. The table-topping Catalans have played a game more.
It is just the third time since 1990 that two relegated sides have secured promotion from the Segunda division to La Liga at the first time of asking.
After losing their first game of the campaign, Luis Garcia's Mallorca side went 17 matches unbeaten.
They moved into the top two in November and have been there since, leading the table from January until April before being usurped by Espanyol.
The battle for the playoffs remains tense, with just six points separating Rayo Vallecano in seventh from Almeria.
Tottenham captain Harry Kane has condemned a racist incident involving Richarlison during Brazil's 5-1 victory over Tunisia as "unacceptable."Barca VP: Messi return financially possible in '23
Barcelona vice president Eduard Romeu has said Lionel Messi's return to the club as a player would be financially possible next summer.Denmark WC kit protests Qatar on human rights
Denmark will wear kits at the World Cup that protest the human rights record of Qatar, with a black option, which was unveiled on Wednesday.Ex-Prem player summoned to serve Russia army
Former Everton player Diniyar Bilyaletdinov has been summoned to serve in the Russian army.'Tata' hits back at critics in 'peculiar' Mexico setup
Mexico manager Gerardo "Tata" Martino hit back at criticism after his team failed to hold onto a 2-0 lead in a 3-2 friendly loss to Colombia.Women's World Cup ticket sales to begin Oct. 6
Ticket packages for the 2023 Women's World Cup co-hosted by Australia and New Zealand go on sale in October.Arsenal's 'very weird' goalpost incident in CL
Arsenal Women's win over Ajax was overshadowed by bizarre scenes ahead of kick-off when the goalposts were found to be too small.PSG president hits out at Barcelona asset sales
PSG president Nasser Al-Khelaifi has said Barcelona's asset sales in the summer were "not fair" and suggested UEFA would investigate their legality.