Complex sentence: During the reign of King Alfonso II (791--842), the kingdom was firmly established, and a series of Muslim raids caused the transfer of Asturian capital to Oviedo.
Split into simpler sentences: During the reign of King Alfonso II (791--842), the kingdom was firmly established. During Alfonso II's reign a series of Muslim raids caused the transfer of Asturian capital to Oviedo.