A dire scoreless draw was enough for Atletico Madrid to secure a place in the UEFA Champions League group stage and for Granada to stay up.
Granada avoided relegation from La Liga and Atletico Madrid secured third place courtesy of a drab 0-0 draw at Estadio Nuevo Los Carmenes.
Granada was destined for the drop at various times on Saturday with other results not going its way, but a point was enough to extend its stay in the top flight to five seasons as Almeria and Eibar went down with Cordoba.
Diego Simeone's side only needed a point to secure third spot – as well as a place in next season's UEFA Champions League group stage – and it got the job done in unspectacular fashion.
Neither side fashioned a clear-cut chance in a tense encounter which will not live long in the memory, but Granada will not care about that as it celebrates a great escape which looked so unlikely before it strung together three consecutive wins before this dire stalemate.
Atleti ended the season without a win in four matches, 12 months after it was celebrating being crowned champion and preparing for a Champions League final against Real Madrid.
Simeone, without Mario Mandzukic, Arda Turan and Fernando Torres due to injury, cut a frustrated figure on the touchline for much of the game and will now turn his attention to ensuring Atleti can hit the heights of the 2013-14 campaign next season.
Both sides offered very little going forward in a cagey first half which lacked quality, with a frustrated Antoine Griezmann starved of service.
Ruben Rochina had an opportunity to ease the tension when he stood over a free kick from 25 yards out three minutes before halftime, but the Grenada striker's effort failed to test Jan Oblak after Piti had been replaced by Fran Rico due to injury.
It was the same story early in the second half, as Atleti seemed content to sit behind the ball although Koke finally brought a save out of Roberto with a long-range volley 11 minutes after the break.
Granada fans raised the decibels as news of results elsewhere going in their favor continued to filter through, knowing an Atleti goal could be fatal.
But last season's champion never really looked likely to break Granada, with a draw all it needed to avoid an early start to the season in the Champions League play-in round.
The closing stages were played out by Granada's defense tapping the ball around their own half, and the final whistle was greeted by a pitch invasions as fans celebrated an unlikely survival.