Valencia earn direct qualification for the Champions League, while fourth-placed Villarreal must negotiate a two-legged qualifier.
The battle for the two Europa League places will go to the final match of the season with Athletic Bilbao, Atletico Madrid and Sevilla all locked on 55 points.
Bilbao had been in the box seat in fifth with a two point advantage over their rivals but a 1-1 draw against 10-man Malaga surrendered their cushion.
Atletico defeated already-relegated Hercules 2-1 at home as manager Quique Sanchez Flores said goodbye to the Atletico fans in his final game at the Vicente Calderon.
Flores, who led the club to Europa League glory last season, confirmed he was leaving the club in the build-up and signed off with three points although Atletico are behind Sevilla and Bilbao on the head to head record.
Sevilla climbed above Bilbao into fifth with a 3-1 win over Real Sociedad thanks to a brace from veteran Mali forward Frederic Kanoute.
At the bottom of the table the tense relegation battle is set to go the wire with seven teams still fighting for survival.
With Almeria and Hercules already relegated, there is just one place left and Real Zaragoza are currently third from bottom despite a 1-0 win over Espanyol.
Zaragoza are one point behind Deportivo and Getafe with Real Sociedad, Real Mallorca and Osasuna all two points ahead of Zaragoza.
Levante are three points above the drop zone but could still go down on the head to head ruling if they lose to Zaragoza when the two teams meet on the final day of the season.
AFP