Fiorentina qualified for the Europa League while Stephan El Shaarawy scored his first goal in seven months for AC Milan.
Fiorentina qualified for the Europa League by holding Palermo at bay to win 3-2 at the Stadio Renzo Barbera.
Napoli and Fiorentina boosted their European qualification hopes with victories over Cesena and Parma in Serie A on Monday.
Fiorentina made it three Serie A wins in a row and moved up to fifth in the standings by beating relegated Parma 3-0.
Napoli's hopes of Champions League qualification suffered a setback as they drew 2-2 at rock-bottom Parma in Serie A on Sunday.
Fiorentina won 3-2 in a topsy-turvy Tuscan derby meeting with Empoli to remain in the frame to finish fourth in Serie A.