Cristiano Ronaldo broke the single-season Primera Division scoring record and Emmanuel Adebayor struck a hat-trick as Real Madrid signed off their campaign with an emphatic home 8-1 win over relegated Almeria.
Ronaldo needed less than five minutes to get his 39th league goal of the campaign, claiming the outright record that he had previously jointly held with Real Madrid's Hugo Sanchez (1989-90 season) and the legendary Athletic Bilbao striker Telmo Zarra (1959-60).
Ronaldo also added a second late on to take his tally to 11 in his last four games and finish the season with an astonishing 53 goals in all competitions.
Also, Adebayor did his hopes of securing a permanent move to Madrid no harm with a treble while a Karim Benzema brace and a maiden goal for young substitute Joselu completed the scoring for Jose Mourinho's men.
But the night was not so good for 1999-00 La Liga champions Deportivo who filled the last relegation place after they lost 2-0 to Valencia. Aritz Aduriz got the crucial goal, before Roberto Soldado netted with the last kick of the game as Depor went down after Real Zaragoza picked up a win over Levante and Real Sociedad drew with Getafe.
Real Sociedad and Getafe shared the spoils from a 1-1 draw that keeps both of them in the top flight. Ultimately, a point was enough to keep both clubs out of trouble and, after a frantic start, it was noticeable that the intensity dropped as word came in from elsewhere.
Daniel Cata Diaz had given the visitors a ninth-minute lead, but Francisco Sutil's equaliser midway through the second half kept honours even.
A Gabi brace saw Zaragoza secure survival with a deserved 2-1 win at Levante. The midfielder struck once in each half to give Javier Aguirre's side a two-goal cushion, but there were nervous moments for the Aragonese outfit late on after Cristian Stuani's strike with 11 minutes remaining.
Osasuna ensured they would stay in the league after defeating fourth-placed Villarreal 1-0 at the Reyno de Navarra stadium. The Pamplona-based club, who started the final day of the season just a point above the bottom three and one of six sides threatened with the drop, earned the victory thanks to Alvaro Cejudo's brilliant goal just before half-time.
The result means Osasuna finish the campaign in a remarkable ninth spot despite beginning the game in serious relegation trouble, while Villarreal were already guaranteed to finish fourth.
In the race for Europa League places, Sevilla sealed fifth place with Alvaro Negredo taking his goal tally to 20 in a 3-2 win over Espanyol.
Alvaro Negredo put the Rojiblancos in the lead with Frederic Kanoute doubling the lead in first-half injury time. Pablo Osvaldo gave his side a way back into the game, but Negredo hit back again to deny any chance of an Espanyol recovery.
Verdu almost upset Sevilla's European hopes, but it wasn't enough to deny the Andalucians victory.
Athletic Bilbao capped a great season with a 2-1 victory away to 10-man Racing Santander.
David Lopez and Fernando Llorente struck within three first-half minutes to set up victory over a Racing side who had already confirmed their safety. Racing had defender Francis sent off for a second booking on 72 minutes although they gave their home fans some reason for cheer when Kennedy Bakircioglu scored two minutes from the end.
Bilbao's success ensured they finished the season in sixth, their highest final placing since coming fifth in 2003-04.
Sergio Aguero struck a hat-trick as Atletico Madrid gave departing coach Quique Sanchez Flores a winning farewell with a thrilling 4-3 victory over Real Mallorca, who escaped relegation by the skin of their teeth.
Despite Aguero's heroics though, the victory was not enough to see Atletico secure their target of a top-six finish. The Rojiblancos had already been guaranteed a spot in next season's Europa League but were hoping to claim fifth or sixth place to enter the tournament proper. Instead the former champions enter the qualification stages.
Earlier, Barcelona's second string warmed up for next weekend's Champions League final against Manchester United with a 3-1 win at Malaga.
Sebas Fernandez gave Malaga the lead after 31 minutes, but a Bojan Krkic penalty levelled the scores just before the break. The second half was an even affair but Barca had the edge late on and won all three points thanks to goals from Ibrahim Affelay and Marc Bartra in the last 15 minutes.
Hercules were unable to sign off with a goal as they said goodbye to Primera Division football with a sterile 0-0 draw at home to Sporting Gijon in the last round of matches.