information:classification
Province of the Umayyad Caliphate

During the caliphate of the Umayyad Caliph Al-Walid I, the commander Tariq ibn-Ziyad led an army of 7,000 that landed at Gibraltar on April 30, 711, ostensibly to intervene in a Visigothic civil war. After a decisive victory over King Roderic at the Battle of Guadalete on July 19, 711, Tariq, accompanied by his mawla, governor Musa ibn Nusayr of Ifriqiya, brought most of the Visigothic Kingdom under Muslim rule in a seven-year campaign. They crossed the Pyrenees and occupied Visigothic Septimania in southern France.

Most of the Iberian peninsula became part of the expanding Umayyad Empire, under the name of al-Andalus. It was organized as a province subordinate to Ifriqiya, so, for the first few decades, the governors of al-Andalus were appointed by the emir of Kairouan, rather than the Caliph in Damascus. The regional capital was set at Córdoba, and the first influx of Muslim settlers was widely distributed.

Following the Muslim conquest of Spain, al-Andalus, then at its greatest extent, was divided into five administrative units, corresponding roughly to: modern Andalusia; Castile and León; Navarre, Aragon, and Catalonia; Portugal and Galicia; and the Languedoc-Roussillon area of Occitania.

The small army Tariq led in the initial conquest consisted mostly of Berbers, while Musa's largely Arab force of over 12,000 soldiers was accompanied by a group of mawālī (Arabic, موالي), that is, non-Arab Muslims, who were clients of the Arabs. The Berber soldiers accompanying Tariq were garrisoned in the centre and the north of the peninsula, as well as in the Pyrenees, while the Berber colonists who followed settled in all parts of the country – north, east, south and west. Visigothic lords who agreed to recognize Muslim suzerainty were allowed to retain their fiefs (notably, in Murcia, Galicia, and the Ebro valley). Resistant Visigoths took refuge in the Cantabrian highlands, where they carved out a rump state, the Kingdom of Asturias.

In the 720s, the al-Andalus governors launched several sa'ifa raids into Aquitaine but were decisively defeated by Duke Odo the Great of Aquitaine at the Battle of Toulouse (721). However, after crushing Odo's Berber ally Uthman ibn Naissa on the eastern Pyrenees, Abdul Rahman Al Ghafiqi led an expedition north across the western Pyrenees and defeated the Aquitanian duke, who in turn appealed to the Frankish leader Charles Martel for assistance, offering to place himself under Carolingian sovereignty. At the Battle of Poitiers in 732, the al-Andalus raiding army was defeated by Charles Martel and Al Ghafiqi was killed. In 734, the Andalusi launched raids to the east, capturing Avignon and Arles and overran much of Provence. In 737, they traveled up the Rhône valley, reaching as far north as Burgundy. Charles Martel of the Franks, with the assistance of Liutprand of the Lombards, invaded Burgundy and Provence and expelled the raiders by 739.

In 740, a Berber Revolt erupted in the Maghreb (North Africa). To put down the rebellion, the Umayyad Caliph Hisham dispatched a large Arab army, composed of regiments (Junds) of Bilad Ash-Sham, to North Africa. But the great Umayyad army was crushed by the Berber rebels at the Battle of Bagdoura (in Morocco). Heartened by the victories of their North African brethren, the Berbers of al-Andalus quickly raised their own revolt. Berber garrisons in the north of the Iberian Peninsula mutinied, deposed their Arab commanders, and organized a large rebel army to march against the strongholds of Toledo, Córdoba, and Algeciras.

In 741, Balj b. Bishr led a detachment of some 10,000 Arab troops across the straits. The Arab governor of al-Andalus, joined by this force, crushed the Berber rebels in a series of ferocious battles in 742. However, a quarrel immediately erupted between the Syrian commanders and the Andalusi, the so-called "original Arabs" of the earlier contingents. The Syrians defeated them at the hard-fought Battle of Aqua Portora in August 742 but were too few to impose themselves on the province.

The quarrel was settled in 743 when Abū l-Khaṭṭār al-Ḥusām, the new governor of al-Andalus, assigned the Syrians to regimental fiefs across al-Andalus – the Damascus jund was established in Elvira (Granada), the Jordan jund in Rayyu (Málaga and Archidona), the Jund Filastin in Medina-Sidonia and Jerez, the Emesa (Hims) jund in Seville and Niebla, and the Qinnasrin jund in Jaén. The Egypt jund was divided between Beja (Alentejo) in the west and Tudmir (Murcia) in the east. The arrival of the Syrians substantially increased the Arab element in the Iberian peninsula and helped strengthen the Muslim hold on the south. However, at the same time, unwilling to be governed, the Syrian junds carried on an existence of autonomous feudal anarchy, severely destabilizing the authority of the governor of al-Andalus.

A second significant consequence of the revolt was the expansion of the Kingdom of the Asturias, hitherto confined to enclaves in the Cantabrian highlands. After the rebellious Berber garrisons evacuated the northern frontier fortresses, the Christian king Alfonso I of Asturias set about immediately seizing the empty forts for himself, quickly adding the northwestern provinces of Galicia and León to his fledgling kingdom. The Asturians evacuated the Christian populations from the towns and villages of the Galician-Leonese lowlands, creating an empty buffer zone in the Douro River valley (the " Desert of the Duero "). This newly emptied frontier remained roughly in place for the next few centuries as the boundary between the Christian north and the Islamic south. Between this frontier and its heartland in the south, the al-Andalus state had three large march territories (thughur): the Lower March (capital initially at Mérida, later Badajoz), the Middle March (centred at Toledo), and the Upper March (centred at Zaragoza).

These disturbances and disorder also allowed the Franks, now under the leadership of Pepin the Short, to invade the strategic strip of Septimania in 752, hoping to deprive al-Andalus of an easy launching pad for raids into Francia. After a lengthy siege, the last Arab stronghold, the citadel of Narbonne, finally fell to the Franks in 759. Al-Andalus was sealed off at the Pyrenees.

The third consequence of the Berber revolt was the collapse of the authority of the Damascus Caliphate over the western provinces. With the Umayyad Caliphs distracted by the challenge of the Abbasids in the east, the western provinces of the Maghreb and al-Andalus spun out of their control. From around 745, the Fihrids, an illustrious local Arab clan descended from Oqba ibn Nafi al-Fihri, seized power in the western provinces and ruled them almost as a private family empire of their own – Abd al-Rahman ibn Habib al-Fihri in Ifriqiya and Yūsuf al-Fihri in al-Andalus. The Fihrids welcomed the fall of the Umayyads in the east, in 750, and sought to reach an understanding with the Abbasids, hoping they might be allowed to continue their autonomous existence. But when the Abbasids rejected the offer and demanded submission, the Fihrids declared independence and, probably out of spite, invited the deposed remnants of the Umayyad clan to take refuge in their dominions. It was a fateful decision that they soon regretted, for the Umayyads, the sons and grandsons of caliphs, had a more legitimate claim to rule than the Fihrids themselves. Rebellious-minded local lords, disenchanted with the autocratic rule of the Fihrids, conspired with the arriving Umayyad exiles.