Cesare Prandelli will take over as coach of Italy after the World Cup. ((Giuseppe Bellini/Getty Images))

Cesare Prandelli has agreed to a four-year deal to replace Marcello Lippi as Italy coach after the World Cup.

Lippi had already indicated he would leave after the upcoming tournament in South Africa and Italian football federation president Giancarlo Abete wanted to name the new coach as soon as possible.

"The federation has found the right man for the job," Lippi said Sunday at Italy's training camp in the Alpine resort of Sestriere. "I told Abete at Christmas that I would finish these two years and then that would be it."

Lippi left the role after guiding Italy to the 2006 World Cup title, only to return two years later after Roberto Donadoni took the team to the quarterfinals of the 2008 European Championship.

The 52-year-old Prandelli recently concluded his fifth season as Fiorentina coach, guiding the Tuscan club to the Champions League's Round of 16 and a controversial elimination by Bayern Munich.

Prandelli has also coached Atalanta, Lecce, Verona, Venezia and Parma. He was named as AS Roma coach before the 2004-05 season but left for personal reasons before that campaign started.

As a player, Prandelli spent six seasons as a midfielder with Juventus, winning three Serie A titles.

Prandelli will be presented after the World Cup.