In Ancelotti's final season at the club, Milan managed a third-place finish in Serie A behind Juventus and cross-city rivals Inter, sealing a place in the next season's Champions League, while they were eliminated in the round of 32 of the UEFA Cup, and the round of 16 of the Coppa Italia. After previously denying rumours that he would be leaving the club, on 31 May 2009 Ancelotti announced his resignation from Milan – less than an hour after their 2–0 victory over Fiorentina in the final match of the season. In total, Ancelotti led Milan for 423 games; only Nereo Rocco has been in charge of the club for more matches.