 It was later owned by the Knights Hospitaller, who turned it into an abbey, which was fortified in the 14th century.In 1502 it was the place where several Umbrian and Marche lords set a plot against Cesare Borgia.In the following centuries the castle housed some historical figures such as Pope Benedict XIV and Pope Pius VII.