Alfonso II of Asturias, nicknamed the Chaste, was the king of Asturias during two different periods: first in the year 783 and later from 791 until his death in 842. Upon his death, Nepociano, a family member of undetermined relation, attempted to usurp the crown in place of the future Ramiro I.
During his reign, which covered a span of 51 years, Alfonso discovered the supposed tomb of St. James the Great in the town of Compostela, which later became known as the city of Santiago de Compostela. He was the son of Fruela I and Munia, a Basque woman captured and brought back to Asturias by the former following a military campaign.