Getafe earned promotion back to the top flight in La Liga at the first attempt after beating Tenerife 3-1 to seal its 3-2 aggregate victory in the playoff final on Saturday.
Getafe got two goals from midfielder Daniel Pacheco to help overturn Tenerife's 1-0 first-leg win and seal the hosts' return to the Primera Division one season after being relegated.
Alejandro Faurlin's 10th-minute goal wiped out Tenerife's first-leg advantage and Pacheco's strike three minutes later put Getafe in charge at the Coliseum Alfonso Perez.
Anthony Lozano got Tenerife back into it with a close-range goal in the 18th minute but Pacheco's second of the night just before half-time proved decisive for Getafe, whose fans invaded the pitch on the final whistle.
Levante and Girona had already won direct promotion after finishing the second division in first and second place, respectively.
Getafe, whose 11-year stint in the top flight came to an end when they were relegated last year, emerged as the third team to go up after winning a two-round playoff between the teams that finished from third to sixth place.
The Madrid-based club eliminated Huesca in the first round to reach the final.
Information from Press Association was used in this report.