Possibly raided from 711 to 739 by the Arabs, the bishopric of Iria was incorporated into the Kingdom of Asturias . At some point between 818 and 842, during the reign of Alfonso II of Asturias, (Published annually from 1764 to 1944) bishop Theodemar of Iria (d. 847) claimed to have found some remains which were attributed to Saint James the Greater. This discovery was accepted in part because Pope Leo III and Charlemagne—who had died in 814—had acknowledged Asturias as a kingdom and Alfonso II as king, and had also crafted close political and ecclesiastic ties. Around the place of the discovery a new settlement and centre of pilgrimage emerged, which was known to the author Usuard in 865 and which was called Compostella by the 10th century.
Possibly raided from 711 to 739 by the Arabs the bishopric of Iria was incorporated into the Kingdom of Asturias  At some point between 818 and 842 during the reign of Alfonso II of Asturias (Published annually from 1764 to 1944) bishop Theodemar of Iria (d 847) claimed to have found some remains which were attributed to Saint James the Greater This discovery was accepted in part because Pope Leo III and Charlemagne—who had died in 814—had acknowledged Asturias as a kingdom and Alfonso II as king and had also crafted close political and ecclesiastic ties Around the place of the discovery a new settlement and centre of pilgrimage emerged which was known to the author Usuard in 865 and which was called Compostella by the 10th century