 The original church is thought to have been constructed in the 6th century during the reign of Theodoric the Great, ruler of the Visigoths.On 12 June 1096, Pope Urban II visited the town and blessed the building materials for the construction of the cathedral.Construction was completed in the first half of the twelfth century.