Umayyad conquest of Hispania
The kingdom survived until 711, when King Roderic (Rodrigo) was killed while opposing an invasion from the south by the Umayyad Caliphate in the Battle of Guadalete. This marked the beginning of the Umayyad conquest of Hispania, when most of Spain came under Islamic rule in the early 8th century.