Gennaro Gattuso will take over as Fiorentina's new head coach next season, their agreement coming just two days after his Napoli exit was confirmed.
Shortly after Monday's (AEST) 1-1 draw with Hellas Verona consigned Napoli to finishing fifth in Serie A, Partenopei president Aurelio De Laurentiis confirmed Gattuso's exit.
Napoli went into the weekend in fourth position but were leapfrogged on the final day by Juventus, who were 4-1 winners at Bologna.
Gattuso's contract was due to expire at the end of 2020-21 and Napoli's failure to reach the UEFA Champions League seemingly cost him an extension.
He won 46 of his 81 games as Napoli boss, giving him a win percentage of 56.8 – better than Rafael Benitez (52.7 per cent) and Carlo Ancelotti (52.1 per cent) but worse than Ottavio Bianchi (56.9 per cent) and Maurizio Sarri (66.2 per cent).
Nevertheless, the former Italy midfielder has landed on his feet by securing a deal with Fiorentina, who had reportedly been interested in him for several months.
La Viola endured a difficult 2020-21.
Giuseppe Iachini started and finished the season as coach, finding himself sacked in November before being rehired four months later when his successor Cesare Prandelli suddenly resigned, citing struggles with a "period of profound distress which is preventing me from being who I really am".
Iachini saw out the remainder of the campaign as La Viola finished 13th in Serie A – only once since their first season back in the top flight in 2004-05 have they ended a season lower in the table (16th in 2018-19).