AS Roma beat Parma 2-1 at the Stadio Olimpico on Sunday to end the season in sixth place in Serie A as captain Daniele De Rossi made his final appearance for the club.
Lorenzo Pellegrini gave Roma the lead in the first half but Gervinho looked to have snatched a point with an equaliser inside the final five minutes until Diego Perotti grabbed a late winner.
However, the home side’s slim chances of Champions League qualification ended as Inter Milan, Atalanta and AC Milan recorded wins to finish above them.
Roma’s decision not to offer De Rossi a new contract was met with furious protests from the fans, but a capacity crowd said an emotional farewell to their second-highest appearance holder as he pulled on the red and yellow shirt for 616th and final time.
Claudio Ranieri, taking charge of Roma for the last time as caretaker manager, knew that his side needed everything to go their way to climb into the top four but they had to settle for sixth instead, earning them a place in the Europa League second qualifying round next season.
Along with Roma, former European Cup winners AC Milan also missed out on Champions League qualification following a bittersweet 3-2 win at SPAL.
The Rossoneri finished the campaign outside the top four after their nearest rivals Atalanta and Inter Milan secured wins to complete the top four on Sunday.
Atalanta came from behind to beat Sassuolo 3-1 at home while Inter eked out a 2-1 win against relegated Empoli at the San Siro.