Islam in the Iberian peninsula
The Muslim conquest
The weakness of the Visigothic monarchy and the apathy of the oppressed Hispano-Roman population offered an easy prey to the Arabs recently established on the other shore of the Straits of Gibraltar. Mūsā b. Nusayr, who had just triumphantly overrun Morocco, and his lieutenant, Tāriq b. Ziyād, governor of Tangier (Tanja), with the complicity of the legendary Count Julian, were the fortunate conquerors of Spain. The first landing of a detachment of 400 men sent to reconnoitre by the Berber, Tarīf b. Mallūq, took place in Ramadān 91/July 710, and the booty obtained without resistance induced Mūsā to give fo his freedman, Tāriq, command of the expedition guided by Count Julian which encamped at Calpe (Jabal Tāriq, i.e. Gibraltar) and took Cartaja in Rajab 92/spring 711.
King Roderick, who was putting down a Basque revolt, hastened to Cordova, and, after gathering an army together, advanced towards the Algeciras region. Here Tāriq awaited him with 12,000 Berbers and a number of partisans of the sons of Witiza, a former king, who were rebels against Roderick. The battle took place on 28 Ramadan 92/19 July 711 on the banks of the river Barbate. It is not certain whether Roderick lost his life in the encounter, but, on the dispersal of his troops, Tāriq, contrary to the instructions which he had received to return to Africa, or at least to remain where he was until further orders, attacked Écija and took Cordova.