Real Sociedad secured Champions League qualification despite goals from Antoine Griezmann and Nahuel Molina condemning them to a 2-1 defeat at Atletico Madrid on Sunday.
La Real headed to the Civitas Metropolitano knowing three points would seal a top-four LaLiga finish for the first time since the 2012-13 season.
But a superb first-half strike from Griezmann would put Diego Simeone’s already-qualified Atletico in front, cutting onto his left foot before lashing into the far corner for his 15th league goal of the season.
Molina would make the points safe for third-placed Atletico, latching onto Griezmann’s neat throughball before smashing a deflected effort past Alex Remiro and into the net.
Alexander Sorloth would pull one back late on, Brais Mendez producing a brilliant assist to set the striker in on goal before the Norway international fired home.
But time would run out on their pursuit of an equaliser as the visitors fell to a first loss in eight league matches.
La Real would be able to celebrate at full time, however, as Villarreal’s 2-1 loss away at Rayo Vallecano ensured Imanol Alguacil’s team will be playing Champions League football next season.
Atletico can still finish second. They are a point behind city rivals Real Madrid going into the final matchday of the season next weekend.