The church and the annexed abbey were founded during the Lombard domination of Italy, between 726 and 764, by the Lombard physician Gaiduald.
In 1433 the Benedictines were replaced by Canons Regular of the Lateran, which were related to the Augustinian Order.