Real Madrid earned what coach Carlo Ancelotti said was a "deserved" La Liga title after beating Cadiz 3-0 and Girona sealed it with a stunning 4-2 victory over Barcelona.
Madrid did their homework by beating Cadiz and after last season's champions stumbled against Girona, Los Blancos were crowned champions for a record-extending 36th time.
Girona's dramatic victory saw the Catalan minnows qualify for the Champions League for the first time in their history, in only their fourth season in Spain's top flight.
Ancelotti rotated heavily ahead of the Champions League semi-final second leg clash with Bayern Munich this week, but his players still got the job done.
Brahim Diaz netted in the 51st minute to put Madrid ahead and then set up Jude Bellingham, with Joselu tapping home a third.
"We've had a spectacular Liga campaign," Ancelotti said. "We've made few errors and the advantage is deserved."
Madrid's comfortable win over Cadiz sent them 14 points clear of last season's champions Barcelona, in third, with only 12 left to play for.
Girona, second after their second 4-2 win over Barcelona this season, trail Madrid by 13 points.
"We leave our skins out there on the pitch to live moments like today's," Joselu said. "There are young players who are very hungry for titles, veterans who are delighted to be here ... and these are special moments."
With the Bayern second leg in mind, Ancelotti only selected captain Nacho Fernandez from the starting lineup that earned a 2-2 draw in Germany last week.
Madrid midfielder Luka Modric became the oldest player to appear for the club in La Liga, at 38 years and 238 days, breaking late Hungarian great Ferenc Puskas' record from 1965 by five days.
Meanwhile, Bayern's Raphael Guerreiro has been ruled out of Wednesday's clash with Madrid, as the German side continue to battle with injuries.
Guerreiro left the stadium on crutches with an ankle ligament injury during Bayern's 3-1 defeat to Stuttgart in the Bundesliga on Saturday.
Jude Bellingham and Carlo Ancelotti savor victory. AFP
Brahim Diaz celebrates scoring with Luka Modric, left. AFP