Valencia qualified for next season's Champions League after winning at Almeria, who were relegated along with Eibar.
Sevilla brought their superb season to a thrilling climax with a 3-2 win at Malaga, but missed out on fourth spot.
Malaga's European hopes suffered a blow with a 2-1 loss at Villarreal on Sunday.
Sevilla were held at Celta Vigo as they lost ground on Valencia, while Atletico Madrid drew 2-2 with Levante.
The Spanish football season could be disrupted by a players' strike. Here's our guide to the situation...
Jon Driscoll and Terry Gibson look back at the weekend’s action and the potential players' strike.
Malaga boosted their chances of playing European football next season with a 2-1 win at Almeria.
Elche clinched Primera Division survival by battling to a 2-1 win at Malaga in a thrilling game at La Rosaleda.
More of the games that matter on Sky Sports
Listen to the latest Premier League News
All the gossip from the morning editions
Predict six scores to win the £250,000 jackpot!
Out now! Free Sky Sports Soccer Quiz App