Barcelona routed Rayo Vallecano 3-0 to secure the valuable second place in the Spanish league on Sunday, while champion Real Madrid drew 4-4 at Villarreal with Norway striker Alexander Sorloth scoring all four goals for the hosts.
There won’t be much left to fight for in the final round next weekend as Cadiz became the last team to be relegated after being held to a 0-0 draw at home against Las Palmas.
Real Sociedad secured the last Europa League spot with a 2-0 win at Real Betis, which was left with a place in the Europa Conference League.
Pedri scored twice and Robert Lewandowski once for Barcelona, which kept a four-point gap to Catalan rival Girona with a round to go.
Girona won 3-1 at Valencia for its first-ever third place finish in the Spanish league. It had already clinched a Champions League place in advance.
Atletico Madrid will finish fourth after a 4-1 loss to midtable Osasuna at its Metropolitano stadium.