Topic summary
Muslim conquest of the Iberian Peninsula

The Umayyad Caliphate conquered the Visigothic Kingdom on the Iberian Peninsula in the early 8th century. The conquest resulted in the end of Christian rule throughout most of Iberia and the establishment of Muslim rule in that territory, which came to be known as al-Andalus under the Umayyad dynasty.
During the reign of the sixth Umayyad caliph al-Walid I (r. 705–715), military commander Tariq ibn Ziyad departed from North Africa under the command of Musa ibn Nusayr in early 711 to cross the Straits of Gibraltar, with a force of about 1,700 men, to launch a military expedition against the Visigothic Kingdom based in Toledo, which encompassed the former territory of Roman Hispania. After defeating King Roderic at the Battle of Guadalete in July the same year, Tariq was reinforced by an Arab force led by his superior waliMusa ibn Nusayr and continued northward.
In 713, Theodemir, the Visigothic count of Murcia conditionally surrendered, and in 715, Abd al-Aziz ibn Musa was named the first governor of Al-Andalus, naming Seville as his capital. By 717, the Umayyads had invaded Gaul to launch their first raids into Septimania. By 719, Barcelona and Narbonne had also been captured. From 740 to 742, the invasion was then disrupted by the Berber Revolt, and in 755 when an Abbasid force led by Yusuf ibn Abd al-Rahman al-Fihri landed to claim the territory from the Umayyads. However, an Umayyad army was decisively defeated by Pelagius of Asturias at the Battle of Covadonga in the mountains of Asturias, securing a Christian stronghold in Northern Spain.
By 781, Abd al-Rahman I had quashed all rebellions and rivals and consolidated Umayyad rule over an almost wholly reunified Iberia, a presence that would remain until the Reconquista, which was aimed at reclaiming the entire Iberian Peninsula for Christianity.