Leon

Leon was a kingdom in Reconquista-era Spain that existed from 910 to 1230 in the northwest of the country, often including the Kingdom of Galicia. Leon was founded when the Kingdom of Asturias moved its capital from Oviedo to Leon in 910 AD, and it ruled over Galicia in addition to Leon and northern Portugal. Leon was in conflict with the Kingdom of Portugal, Kingdom of Castile, and the Moors, its nettlesome neighbors, with Portugal becoming an independent kingdom in 1139. However, Leon united with Castile on numerous occasions, and in 1230 Leon and Castile were permanently united under Castile.