Valencia qualified for next season's Champions League after winning at Almeria, who were relegated along with Eibar.
Elche missed a string of chances, including a penalty, as they were held to a goalless draw at Levante.
Athletic Bilbao produced a late turnaround to beat Elche 3-2 and move a step closer to qualifying for the Europa League.
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.
Villarreal secured sixth position in the Primera Division after scraping past Elche 1-0 at El Madrigal.
Elche coach Fran Escriba believes his team have pulled off a "miracle" in defending their La Liga status.
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