MADRID (AP) — Real Betis sealed its return to Spain's first division after a one-year absence with a 3-0 victory over Alcorcon on Sunday.

Striker Ruben Castro scored twice in the 21st and 52nd minutes before forward Jorge Molina added a third goal in the 65th for the Seville-based side.

With the win, Betis sealed a top-two finish in the second division and a direct promotion to the topflight.

The third team to go up will come from a playoff from the third- to sixth-place finishers.

Eibar, Almeria and Cordoba were relegated to the second division.