The first church was a three-aisled Romanesque pillar church with a single apse, destroyed by a fire in 1276. An earthquake circa 1443 greatly damaged the existing church on the site. Restorations were completed by 1449 but poorly done, due to lack of money, and on 21 May 1634, the roof collapsed in full view of
Ferdinand II, Holy Roman Emperor. The collapse of the tower, struck by a lightning bolt in 1638, was seized as an opportunity to completely rebuild the church in
Baroque style. From 1638 to 1641, the reconstruction was undertaken by the architects
Carlo Antonio Carlone and
Marco Spazzio. From 1643 to 1648,
Andrea Allio the Old,
Andrea Allio the Young and
Silvestro Carlone reworked the nave and the west side. In the process, the length of the church was somewhat reduced, with the result that the tower no longer stands directly beside the basilica. After the Turkish siege, the church was restored again. As the baroque west tower was barely higher than the facade itself, its extension has often been discussed, but these plans have never come to fruition. The choir tower was dedicated only in the year 1893. == Interior ==