Pelayo (690–737) was the first King of Asturias, ruling from 718 until his death. He is crediting with beginning the Christian reconquista of Spain from the Moors.
Pelayo was a nobleman of high birth in the Visigothic kingdom that held power in Iberia from the early 5th century until its defeat by the Moors at the Battle of Guadalete in 711. He escaped capture at Guadalete, where he may have been one of the bodyguards of Roderic, the Visigothic king. Pelayo returned to his native Asturias in the northern part of Spain and became the leader of a rebellion against Munuza, the Moorish governor of the area.
He was captured in 717 and imprisoned by the Moors, but soon escaped and returned to Asturias, where he defeated Munuza and established the Kingdom of Asturias in 718, with its capital at Cangas de Onis. In accordance with Visigothic custom, he was elected as his nation's first king by a vote of his countrymen.
For a few years after that, Pelayo's "kingdom" was more illusory than actual, as he was facing forces much stronger than his own. It wasn't until 722 that his kingdom was secured, when a powerful Muslim force sent to conquer Asturias once and for all was defeated by Pelayo at the Battle of Covadonga. Today, this is regarded as the first Christian victory of the Reconquista. The Muslims, ungracious in their defeat, described Pelayo and his men as "thirty wild donkeys" in their chronicles. But it didn't matter; Pelayo had won independence for his country.
Pelayo died in 737. His son Favila succeeded him as king but could not enjoy the throne for a long time: legends claim that he was killed by a bear. After Pelayo, the subsecuent kings of Asturias, León, Castile and Spain itself could trace their lineage back to him in some manner for hundreds of years. However, attempts to link him to the royal house of the Visigoths (some sources claim he is the grandson of the Visigothic King Chindaswinth (563-653)) are without foundation.
The Spanish Falange Fascist party named one of its youth organizations Pelayos.