In the 14th century the area was contended by the Angevines and Aragonese, and in the following century it was acquired by the Papal States. Traditionally a seat of brigandage, it fought against the Napoleonic occupation.