 In its vicinity the Byzantine general Narses overthrew (553) the Alamanni.Under the Byzantine rule, it belonged to the Pentapolis, part of the Exarchate of Ravenna.In 728, it was taken with many other cities by Liutprand, King of the Lombards but returned to the Byzantines about 735.