The Santiago de Compostela Archcathedral Basilica (Spanish and Galician: ) is part of the Metropolitan Archdiocese of Santiago de Compostela and is an integral component of the Santiago de Compostela World Heritage Site in Galicia, Spain. The cathedral is the reputed burial place of Saint James the Great, one of the apostles of Jesus Christ. It is also among the remaining churches in the world built over the tomb of an apostle, the other ones being St Peter's Basilica in Vatican City, St Thomas Cathedral Basilica, Chennai in India and Basilica of St. John in Izmir, Turkey. The archcathedral basilica has historically been a place of pilgrimage on the Way of St James since the Early Middle Ages and marks the traditional end of the pilgrimage route. The building is a Romanesque structure, with later Gothic and Baroque additions. History According to the legend, the apostle Saint James the Great brought Christianity to the Iberian Peninsula. According to legend, this tomb was rediscovered in AD 814 by Pelagius the Hermit, after he witnessed strange lights in the night sky. Bishop Theodomirus of Iria recognized this as a miracle and informed king Alfonso II of Asturias and Galicia (791–842). The king ordered the construction of a chapel on the site. Legend has it that the king was the first pilgrim to this shrine. This was followed by the first church in AD 829 and then in AD 899 by a pre-Romanesque church, ordered by king Alfonso III of León, which caused the gradual development of this major place of pilgrimage. In 997 the early church was reduced to ashes by Al-Mansur Ibn Abi Aamir (938–1002), army commander of the caliph of Córdoba. St James' tomb and relics were left undisturbed. The gates and the bells, carried by local Christian captives to Córdoba, were added to the Aljama Mosque. When Córdoba was taken by king Ferdinand III of Castile in 1236, these same gates and bells were then transported by Muslim captives to Toledo, to be inserted in the Cathedral of Saint Mary of Toledo. Construction of the present cathedral began in 1075 under the reign of Alfonso VI of Castile (1040–1109) and the patronage of bishop Diego Peláez. It was built according to the same plan as the monastic brick church of Saint Sernin in Toulouse, probably the greatest Romanesque edifice in France. It was built mostly in granite. Construction was