丕平
In 728, it was taken with many other cities by Liutprand, King of the Lombards but returned to the Byzantines about 735. Pepin the Short gave it to the Holy See, but during the wars of the popes and the Italian cities against the emperors, Rimini sided with the latter.