Cagliari drew a line under 11 years in Serie A by beating Udinese 4-3 in their last game before submitting to relegation.
Fiorentina qualified for the Europa League while Stephan El Shaarawy scored his first goal in seven months for AC Milan.
Liverpool give U21s more game time than Premier League rivals but top flight lags behind Europe.
A last-gasp winner from substitute Marco Sau lifted Cagliari to a 1-0 victory at Cesena.
Cagliari lost 1-0 at home to Palermo to suffer relegation and have their 11-year run in Serie A come to a painful end.
Paul Pogba made a goalscoring return for Juventus, but the Bianconeri had to settle for a 1-1 draw against Cagliari.