Espanyol held Real Madrid to a 1-1 draw which ended their opponents' title hopes and gifted the La Liga title to city rivals Barcelona.
A Christian Stuani goal gave Espanyol the lead on 22 minutes against an out-of-sorts Madrid, however seconds after Cristiano Ronaldo was introduced from the substitutes bench Gonzalo Higuain equalised with a neat flicked header from a Luka Modric free-kick.
Madrid had to win to keep their feint title hopes alive, so taking only a point from the game gave Barcelona the 22nd title in their history.
Deportivo La Coruna were unable to give their survival hopes a boost, as they were edged out by 1-0 by Valladolid. A Javia Guerra goal on 48 minutes was enough to separate the two sides.
Bottom side Mallorca were left to rue their ill discipline as they left it too late against Athletic Bilbao.
Andreu Fontas and Ximo Navarro were both sent off in a game where Mallorca went 1-0 down after just eight minutes to an Aritz Aduriz goal.
Fernando Llorente put his side 2-0 up on 79 minutes and a Giovani Dos Santos goal two minutes later ultimately proved insufficient, leaving the visitors still rooted to the bottom of La Liga.
A second half goal from Alejandro Arribas proved enough to secure all three points for relegation-threatened Osasuna in what was a surprise win over eighth place Getafe.
With the likes of Mallorca and Deportivo both losing, the defender's 75th-minute goal could prove crucial come the end of the season.