The following king Alfonso III (866–910), who was thirteen at the time, took refuge in Castile until his followers had killed the usurper. Alfonso III's contributions to building construction are not nearly as well documented as Ramiro I's or Alfonso II's contributions. The Chronicle of Alfonso III does not mention any buildings created by Alfonso III, neither does the Chronicle of Albelda. In 882, the body of the Cordoban martyr Eulogius was sent to Oviedo. This was meant a diplomatic gift from Emir Muhammad I (852–886). Eulogius was executed in 859. The body was likely accompanied by Eulogius's book collection. In the 16th century, the only manuscript of Eulogius's writings was discovered in the Oviedo Cathedral Library. Here it was copied once before it disappeared completely from the library. Following an offensive in 881 against an Umayyad army, Alfsonso III returned to Oviedo to rebuild churches. It was at this time he constructed one or more palaces. The Chronicle of Albelda and the Chronicle of Sampiro tie Alfonso III's victories in battle to his program of church building in Oviedo. In 908, Alfonso III commissioned a gold and jewelled cross to contain the cross carried by Pelagius I at Covadonga. This "Cross of Victory" is located in the Camara Sancta in the Oviedo Cathedral. However, recent Carbon14 analysis of the wooden cross indicates that it was no older than the golden casing created to surround the cross. The commission of the casing shows us Alfonso III's interest in perpetuating the legend of Pelagius I.  Towards the end of Alfonso III's reign, he faced many challenges. In 901, a prophet named Alhaman led a "great army of Muslims" and attempted to take Zamora. To add to this, Alfonso III's brother Vermudo revolted in Astorga. There were several attempts at the aging Alfonso III's life by his sons. Alfonso III was overthrown by sons, and died in Zamora. His body was taken to Oviedo for burial. The moving of the royal court to León, after the death of Alfonso III, 'The Great', links the life of the city to the relics preserved in its cathedral and the passing of pilgrims that visit El Salvador, and continue on their way to Santiago de Compostela.