The present church was built in 1802–1832 based on designs by Andrea Vici and Clemente Folchi [it].
It was erected on the site of the previous medieval Romanesque-Gothic cathedral, destroyed in the 1799 earthquake.
The church once housed a large polyptych by Carlo Crivelli, which was disassembled and sold: the central panel is now in the Pinacoteca di Brera in Milan.
[1] One of the chapels once contained frescoes, now lost, by Andrea Sacchi.
[2] The crypt has two 14th-century lions sculpted by Armanno da Pioraco, a bust of Cardinal Angelo Giori and his brother Prospero by followers of Bernini, and a marble 14th- or 15th-century coffin holding the relics of Saint Ansovinus (a 9th-century bishop of Camerino).