Real Madrid were crowned champions of La Liga for the 36th time after Barcelona suffered a 4-2 defeat by Girona.
Carlo Ancelotti’s side eased to a 3-0 win over Cadiz earlier on Saturday which meant the Catalan club had to win at the Estadi Montilivi.
Barcelona led 2-1 at half-time, but three second-half goals from Girona left Real with an unassailable lead at the summit with four matches of the season remaining.
Los Blancos have lost just one league game this season and could potentially finish the campaign with 99 points which would be their second-highest total ever.
It is Ancelotti’s second La Liga title as Real coach having previously won it in 2021-22.
Real have now won nine more titles than the 27 held by Barcelona.
The 14-time European Cup winners face Bayern Munich at the Bernabeu on Wednesday in the second leg of their Champions League semi-final having drawn 2-2 at the Allianz Arena.