 In 841 it was ravaged by Saracens.After 856, the Lombard bishop Radipert had a castle built on what remained of the bridge.After a period under local counts, in 1062 it was again given to Montecassino while in 1206, Frederick II donated it to the archbishops of Capua.