At some point, Pelagius is said to have rebelled, but for what reasons is unknown; such rebellions by local authorities against their superiors formed a common theme in Visigothic Spain. A Muslim army was sent against him under the command of
Alkama and the Christian
bishop of Seville,
Oppa. That Alkama was the general and that there was a bishop of Seville named Oppa among his ranks is generally accepted. The battle is usually dated to 718 or 719, between the governorships of
al-Hurr and
al-Samh, though some have dated it as late as 722 and the
Chronica Albeldensia dates it in the 740s. After his election as
princeps (prince, principal leader) of the Asturians by the local magnates in the Visigothic manner, And he [Pelagius], going to his mountainous lands, gathered all those who were going to council and ascended a big mountain named Asseuua. He spread his orders between all the Astures, who gathered in council and elected Pelagius as their
princeps. Pelagius reigned for eighteen or nineteen years until his death in 737, when he was succeeded by his son
Fafila. Pelagius was buried in the
church of Santa Eulalia de Abamia, located in the surroundings of the village of Corao, near Cangas de Onís. His remains were transferred by King
Alfonso X of Castile to the
Holy Cave of Covadonga, as were those of his wife
Gaudiosa and his sister. He left, in addition to his son and successor Fafila, a daughter, Ermesinda, who was to become
progenitress, along with King
Alfonso I of Asturias ("Alfonso the Catholic"), of the later royalty of Asturias. ==Historiography==