Maxi Gomez and Iago Aspas both scored two goals apiece as Celta Vigo finished the season with a 4-2 home victory against in-form Levante.
Paco Lopez's visiting Levante side had dismissed any relegation concerns on the back of an impressive five-match winning streak - including ending Barcelona's long unbeaten run last weekend - and they took an early lead through Ruben Rochina.
However, Celta, who announced on Saturday that coach Juan Carlos Unzue will not be continuing in his post, mounted an impressive response.
Gomez struck either side of Aspas' double to put the result beyond doubt with little over an hour on the clock, before Jose Luis Morales scored a consolation goal for Levante 15 minutes from time.
There were also plenty of goals at the Estadio Municipal de Butarque where Leganes were 3-2 winners against Real Betis, despite playing much of the match with 10 men.
Betis forward Joel Campbell opened the scoring after 20 minutes before things got worse for the hosts with a red card for Diego Rico four minutes later.
However, the 10 men rallied and goals from Dimitris Siovas and Jose Naranjo turned the game on its head. Antonio Sanabria levelled things up after 76 minutes but the hosts would not be denied and Nordin Amrabat netted the winning goal shortly afterwards.
Cristhian Stuani scored both of Girona's goals as they finished the campaign with a 2-1 win at relegated Las Palmas, who had levelled through a Jonathan Calleri penalty.
Loic Remy's spot-kick gave Getafe a 1-0 win at bottom club Malaga while Wissam Ben Yedder was on target as Sevilla won by the same scoreline at home against Alaves.