The first cathedral on the site was built here in 1021, to replace an earlier one located outside the city walls.
On January 12, 1789, a powerful earthquake toppled the cupola, and made a reconstruction necessary.