Casteggio is a comune (municipality) in the Province of Pavia in the Italian region Lombardy, located about 61 km south of Milan and about 25 km south of Pavia. As of 31 July 2010, it had a population of 6,537 and an area of 17.8 km².[3]
Clastidium was a settlement of the Ligures, belonging to the tribe called Marici by the Romans (and wrongly identified as Celts by Polybius). The location was the site of a major defeat of the Marici by the legions of Marcus Claudius Marcellus, which was celebrated in a tragedy by the Latin poet Naevius. In 218 BC it regained its independence after the Roman defeat in the neighbourhood by Hannibal's army; however it fell again to Roman rule in 197 BC, when it was also set to fire.
Never to recover its former splendour, it was annexed to the colonia of Piacenza, and remained under that city’s control after the fall of the Western Roman Empire.
In the Middle Ages Casteggio came under the influence of Pavia, to which it was assigned by Frederick Barbarossa in 1164. In 1441 it was acquired by Cesare Martinengo, and was later ruled by the Simonetta, Sforza, Bentivoglio and Del Carretto dynasties. It was heavily damaged during the Italian Wars of late 15th and early 16th centuries.