As a player, he mainly played in the centre as a defensive midfielder, although he was also capable of playing on the wing. He initially played for Perugia, Salernitana, and Rangers, though he is mostly remembered for his time with AC Milan in Serie A, where he won the Champions League, in 2002–03 and 2006–07, the Coppa Italia in 2002–03, and also the Serie A title in 2003–04 and 2010–11. In addition to these titles, he won two Italian Supercups, two UEFA Supercups, and a FIFA Club World Cup. At international level, he represented the Italy national football team at the 2000 Summer Olympics, three FIFA World Cups, two UEFA European Championships, and the 2009 FIFA Confederations Cup.