 In the 13th century it was a fief of the archbishop of Naples.In 1580 it was acquired by the Royal Estate of the Kingdom of Naples.In 1815 it was made capital of a "circondario" of the Kingdom of the Two Sicilies, including 19 communes.