Input (grade 9): 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.
Output (grade 10): 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.