the plunder he gained further military forces could be paid, enabling him to raid the Muslim cities of Lisbon, Zamora, and Coimbra. Alfonso I also expanded his realm westwards conquering Galicia. During the reign of King Alfonso II (791–842), the kingdom was firmly established, and a series of Muslim raids caused the transfer of the Asturian capital to Oviedo. The king is believed to have initiated diplomatic contacts with the kings of Pamplona and the Carolingians, thereby gaining official recognition for his kingdom and his crown from the Pope and Charlemagne. The bones of St. James the Great were proclaimed to have been found in Iria Flavia (present day Padrón) in 813 or probably two or three decades later. The cult of the saint was transferred later to Compostela (from Latin campus stellae, literally "the star field"), possibly in the early 10th century when the focus of Asturian power moved from the mountains over to Leon, to become the Kingdom of León or Galicia-Leon. Santiago's were among many saint relics proclaimed to have been found across north-western Hispania. Pilgrims started to flow in from other Iberian Christian realms, sowing the seeds of the later Way of Saint James (11–12th century) that sparked the enthusiasm and religious zeal of continental Christian Europe for centuries. Despite numerous battles, neither the Umayyads nor the Asturians had sufficient forces to secure control over these northern territories. Under the reign of Ramiro, famed for the highly legendary Battle of Clavijo, the border began to slowly move southward and Asturian holdings in Castile, Galicia, and Leon were fortified, and an intensive program of re-population of the countryside began in those territories. In 924 the Kingdom of Asturias became the Kingdom of León, when Leon became the seat of the royal court (it didn't bear any official name). Kingdom of Leon (910–1230) Alfonso III of Asturias repopulated the strategically important city Leon and established it as his capital. King Alfonso began a series of campaigns to establish control over all the lands north of the Douro river. He reorganized his territories into the major duchies (Galicia and Portugal) and major counties (Saldaña and Castile), and fortified the borders with many castles. At his death in 910 the shift in regional power was completed as the kingdom became the Kingdom of León. From this power base, his heir Ordoño II was able to organize attacks against Toledo and