text: In 1269 it was the seat of a famous battle during the wars of Guelphs and Ghibellines and in 1479 it was besieged by Neapolitan troops .
simplified: In 1269 it was the seat of a famous battle during the wars of Guelphs and Ghibellines and in 1479 it was attacked by Neapolitan soldiers .