 Alfonso V of Naples gave it to his daughter, but, when her husband, Duke Marino of Sessa, rebelled, besieged it and destroyed part of the walls (1460).The following year the king sold it to the city of Capua, which held it until the abolition of feudalism in the Kingdom of the Two Sicilies in 1810.In 1812 it became an autonomous commune.