Cristiano Ronaldo finished with a season's best goals tally of 61 as his first-half hat-trick helped Real Madrid end their season by hammering Getafe.
The Portuguese forward's haul is one more than the 60 he scored in 2011-12.
Javier Hernandez, James Rodriguez, Jese and Marcelo all found the net for the La Liga runners-up, who saw Martin Odegaard, 16, become their youngest La Liga player when he replaced Ronaldo.
Sergio Escudero, Diego Castro and Medhi Lacen were on target for Getafe.
Ronaldo also finished with 48 league goals - the most in his six seasons with Real Madrid - which was five more than Barcelona's Lionel Messi.
The 30-year-old was replaced in the second half by Norwegian Odegaard, who made his La Liga debut at the age of 16 years and 157 days.
Odegaard joined Real from Stromgodset in January.
Ronaldo's hat-trick at the Bernabeu was also his eighth this season, but it was a campaign that ended without a trophy, increasing the pressure on Real boss Carlo Ancelotti.
Ancelotti, who has one season to run on his three-year deal, is poised to discuss his future with the club next week.
Despite the Italian delivering a 10th European Cup last season and ensuring his team will qualify for the Champions League next term by finishing second in La Liga, he said earlier this month his future was uncertain.
Napoli coach Rafael Benitez is the front runner to replace the former AC Milan and Chelsea manager.
(BBC)