Real Betis have returned to La Liga at the first time of asking after defeating Alcorcon 3-0 on Sunday.
The Andalucians will also go up as La Segunda champions thanks to their superior head-to-head with second-placed Girona, having beat them both home and away this season.
A brace from Ruben Castro, the second tier’s top goalscorer with 32 – nine more than nearest challenger Borja Baston – along with Jorge Molina’s strike midway through the second half, ended the title race with two matches remaining.
Betis were struggling to mount a promotion tilt until Pepe Mel’s return as Coach in December signalled a change in fortunes as they secured their fate with a run of nine wins in their last 10 matches.
Mel had initially signed a contract until the end of the season, but he has activated a two-year extension as a result of the club’s quick return to the top flight.