Adnan Januzaj's 87th-minute equaliser saw Real Sociedad fight back for a 1-1 draw at Atletico Madrid that secured a place in next season's Europa League.

Atleti looked on course for victory in their concluding LaLiga fixture at the Wanda Metropolitano on Sunday after Koke's close-range finish in the first half.

But Januzaj's curling free-kick late on went through a crowded box and found a way past the otherwise superb Jan Oblak.

The point was enough for Atleti to claim third place in LaLiga but Sociedad were the happier of the two sides as they finished in sixth spot, when defeat would have left them without European football.

Sociedad showed early adventure and Alexander Isak combined well with Nacho Monreal, but the latter's shot was comfortably saved by Oblak in the Atleti goal.

Atletico seized the initiative with half an hour played when neat build-up play allowed captain Koke to poke the ball past goalkeeper Miguel Angel Moya after he latched on to Alvaro Morata's lay-off.

A subdued Martin Odegaard went close for Sociedad shortly after half-time when his well-struck effort was kept out by the strong hand of a diving Oblak.

Diego Costa's ambitious scissor kick went wide at the other end, before substitute Ander Barrenetxea sliced a volley for Sociedad as the game opened up.

Diego Simeone introduced fit-again Joao Felix just after the hour and only a last-ditch block kept out a dangerous cross from the Portugal playmaker, with Costa poised to capitalise inside the six-yard box.

Sociedad piled on the pressure late on and Januzaj's low angled effort brought a fingertip save out of Oblak before they were awarded a free-kick with three minutes left.

Belgium playmaker Januzaj stepped up and teased the ball into a packed box to deceive Oblak, who was waiting for a touch, and despite getting a hand on it he could not keep it out.

What does it mean? Atleti a distant third , joy for Sociedad

Atleti suffered just four LaLiga defeats this season – only Real Madrid with three, have been beaten fewer times – but 16 draws left them some way off challenging for the title.

Simeone must figure out how to convert more of them into wins next season to bridge the gap between themselves and the top two, but of more immediate concern is the conclusion of the Champions League next month.

Sociedad went from despair to joy in the space of a few minutes and will relish Europa League football in San Sebastian next season.

Oblak almost unflappable

It was another superb display by the Slovenia goalkeeper, who was only beaten very late in the game. Atleti's goal was put under intense pressure in the second half and Oblak produced several superb saves. He will be a key man if they are to finally achieve elusive Champions League glory.

Off-colour outing for Odegaard

Odegaard has been the creative fulcrum of Sociedad's attacking play this season but struggled to make an impact. The Real Madrid loanee was bullied by Atleti's players on the few occasions he was able to get on the ball and substituted with 25 minutes left.

What's next?

Atleti will turn their attention to a Champions League quarter-final showdown with RB Leipzig in Lisbon on August 13. Once fans are allowed back into Spanish stadia, Real Sociedad will finally tackle a Basque derby in the final of the Copa del Rey against Athletic Bilbao.