Real Madrid ended their Spanish league title-winning campaign with a 2-2 draw that relegated Leganes after four straight seasons in the first division.
The result also ended Madrid's 10-game winning streak following the pandemic break. Zinedine Zidane's team had sealed their record 34th league title - and first in three years - on Thursday.
"We didn't play at our best, but we can't forget what we have already achieved ... We have to be happy." Zidane said.
Madrid ended the campaign on 87 points - five clear of second-place Barcelona. The 2018/19 La Liga champions closed out their campaign with a 5-0 rout of Alaves.
Leganes, led by Mexican coach Javier Aguirre, entered the match one point behind Celta Vigo, the first team outside the drop zone. Celta, winless in the final seven rounds, survived despite being held 0-0 by last-place Espanyol.
Sergio Ramos and Marco Asensio got on the scoresheet either side of halftime for Madrid, while Leganes equalised twice through Bryan Gil and Roger Assale.
"We deserved a lot more than what we managed, the boys left everything they had out there on the pitch and I can only applaud them and support them," said veteran coach Aguirre.
"This is my first relegation, it's cruel and tough because the dressing room is broken, it will be a long night. But I have told the boys that when you give all you can, there's nothing to reproach yourself for."
Lionel Messi's double and goals to Ansu Fati, Luis Suarez and Nelson Semedo helped Barcelona end the season on a positive note.
Messi ended with four more goals (25) than Madrid striker Karim Benzema to clinch his fourth consecutive scoring title and become the first player to win the league's golden boot in seven different seasons.
"I think today was a step forward in terms of attitude and commitment, which is what we must always have," said captain Messi after the game.
Elsewhere, Atletico drew 1-1 with Real Sociedad to finish third, and Sevilla beat Valencia 1-0 to end the campaign in fourth - behind Atletico only on goal difference - to also secure a spot in the Champions League next season.
Villarreal routed Eibar 4-0 to finish in fifth place.
Sociedad's draw at Atletico left them in sixth and Granada defeated Athletic Bilbao 4-0 to earn seventh and the final Europa League place.
Real Valladolid were 2-0 winners at home to Real Betis, Levante defeated Getafe 1-0, and Osasuna drew 2-2 with already relegated Mallorca.