Atalanta are in with a real shot of fourth place after beating Chievo thanks to a goal from Alejandro ‘Papu’ Gomez.
Juventus fought back from a Saphir Taider stunner to conquer Bologna with Paulo Dybala and 17-year-old Moise Kean’s debut Serie A goal.
Cagliari beat Milan 2-1 with the last kick of the game after 19-year-old debutant goalkeeper Luca Crosta saved Carlos Bacca’s penalty.
Crotone completed the miraculous comeback to make sure their first Serie A season was not their last, as Empoli capitulated in Palermo.
Fiorentina fought back from 2-0 down to draw with already-relegated Pescara after Federico Chiesa’s dismissal.
Inter ended their season with a 5-2 victory over Udinese, but it did little to assuage angry fans at San Siro.
Empoli are in Serie B after an extraordinary capitulation in Sicily, as already-relegated Palermo won 2-1 to keep Crotone in the top flight.
Francesco Totti said goodbye to Roma with a dramatic 3-2 victory over Genoa to take second place, as Diego Perotti netted in stoppages.
Napoli earned another spectacular win with Dries Mertens’ 28th Serie A goal and a Lorenzo Insigne stunner, but the 4-2 at Sampdoria was not enough for second place.
Torino ended the campaign with a flourish of entertainment, an eight-goal thriller with Gregoire Defrel’s hat-trick for Sassuolo.