 Between the 6th and the 9th centuries Lombards invaded Vairano and built a fortress which was used to defend themselves against Saracen and other invasions.In the 11th century, the Normans subdued the Lombards, and in 1191 emperor Herny VI of Hohenstaufen gave the castle to Roffredo dell’Isola, the abbot of Montecassino.The fortress underwent several transformations and reconstructions during centuries