 The present Gothic church was erected on the site of the former Romanesque cathedral.Its construction lasted from the 15th to the 19th centuries; if the length of the existence of the 13th century Romanesque bell tower is included, a total of seven centuries of construction.The cathedral was declared a basilica minor by Pope Pius IX on 5 June 1870.