Abd al-Rahman ibn Mu'awiya (; 7 March 731 – 30 September 788), commonly known as Abd al-Rahman I, was the founder and first emir of the Emirate of Córdoba, ruling from 756 to 788. He established the Umayyad dynasty in al-Andalus, which continued for nearly three centuries (including the succeeding Caliphate of Córdoba).

Abd al-Rahman was a member of the Umayyad dynasty in Damascus, and his establishment of a government in Iberia represented a break with the Abbasids, who had overthrown the Umayyads in Damascus in 750. He was also known by the surnames al-Dakhil ("the Immigrant"), Saqr Quraysh ("the Falcon of Quraysh").

Biography

Early life and flight from Damascus Abd al-Rahman was born in Palmyra, near Damascus, in the heartland of the Umayyad Caliphate, the son of the Arab Umayyad prince Mu'awiya ibn Hisham and, according to later Andalusi sources, a Berber woman named Rah, who was possibly a concubine from the Nafza tribe. The identity of his mother is not attested in contemporary 8th-century sources, and appears only in later historians such as Ibn Hayyan (d. 1076) and Ibn Idhari (d. 1310).

Abd al-Rahman was the grandson of Hisham ibn Abd al-Malik, who ruled as caliph from 724 to 743.Peter C. Scales, The fall of the caliphate of Córdoba: Berbers and Andalusis in conflict, Brill, 1994, p. 111Arnold Joseph Toynbee, A study of history, Oxford University Press, H. Milford, 1934, Vol. 8, p. 372 He was twenty when his family, the ruling Umayyads, were overthrown by the Abbasid Revolution in 748–750. Abd al-Rahman and a small part of his family fled Damascus, where the center of Umayyad power had been; people moving with him included his brother Yahya, his four-year-old son Sulayman, and some of his sisters, as well as his Greek mawla (freedman or client), Bedr. The family fled from Damascus to the River Euphrates. All along the way the path was filled with danger, as the Abbasids had dispatched horsemen across the region to try to find the Umayyad prince and kill him. The Abbasids were merciless with all Umayyads that they found. Abbasid agents closed in on Abd al-Rahman and his family while they were hiding in a small village. He left his young son with his sisters and fled with Yahya. Accounts vary, but Bedr likely escaped with Abd al-Rahman. Some histories indicate that Bedr met up with Abd al-Rahman at a later date.Ahmed ibn Muhammad al-Maqqari. The History of the Mohammedan Dynasties in Spain, 96. Al-Maqqari quotes from historian Ibn Hayyan's Muktabis when detailing Abd al-Rahman's flight from Syria.

Abd al-Rahman, Yahya, and Bedr quit the village, narrowly escaping the Abbasid assassins. On the way south, Abbasid horsemen again caught up with the trio. Abd al-Rahman and his companions then threw themselves into the River Euphrates. The horsemen urged them to return, promising that no harm would come to them; and Yahya, perhaps from fear of drowning, turned back. The 17th-century historian Ahmed Mohammed al-Maqqari poignantly described Abd al-Rahman's reaction as he implored Yahya to keep going: "O brother! Come to me, come to me!"Ahmed ibn Muhammad al-Maqqari, The History of the Mohammedan Dynasties in Spain, p. 60. Yahya returned to the near shore, and was quickly dispatched by the horsemen. They cut off his head and left his body to rot. Al-Maqqari quotes earlier historians reporting that Abd al-Rahman was so overcome with fear that from the far shore he ran until exhaustion overcame him. Only he and Bedr were left to face the unknown.

Exile years After barely escaping with their lives, Abd al-Rahman and Bedr continued south through Palestine, the Sinai, and then into Egypt. Abd al-Rahman had to keep a low profile as he traveled. It may be assumed that he intended to go at least as far as northwestern Africa (Maghreb), the land of his mother, which had been partly conquered by his Umayyad predecessors. The journey across Egypt would prove perilous. At the time, Abd al-Rahman ibn Habib al-Fihri was the semi-autonomous governor of Ifriqiya (roughly, modern Tunisia) and a former Umayyad vassal. The ambitious Ibn Habib, a member of the illustrious Fihrid family, had long sought to carve out Ifriqiya as a private dominion for himself. At first, he sought an understanding with the Abbasids, but when they refused his terms and demanded his submission, Ibn Habib broke openly with the Abbasids and invited the remnants of the Umayyad dynasty to take refuge in his dominions. Abd al-Rahman was only one of several surviving Umayyad family members to make their way to Ifriqiya at this time.

But Ibn Habib soon changed his mind. He feared the presence of prominent Umayyad exiles in Ifriqiya, a family more illustrious than his own, might become a focal point for intrigue among local nobles against his own usurped powers. Around 755, believing he had discovered plots involving some of the more prominent Umayyad exiles in Kairouan, Ibn Habib turned against them. At the time, Abd al-Rahman and Bedr were keeping a low profile, staying in Kabylie, at the camp of a Nafza Berber chieftain friendly to their plight. Ibn Habib dispatched spies to look for the Umayyad prince. When Ibn Habib's soldiers entered the camp, the Berber chieftain's wife Tekfah hid Abd al-Rahman under her personal belongings to help him go unnoticed.Ahmed ibn Muhammad al-Maqqari, The History of the Mohammedan Dynasties in Spain. Again al-Maqqari cited Ibn Hayyan for the majority of the preceding information, 58–61. Once they were gone, Abd al-Rahman and Bedr immediately set off westwards.

In 755, Abd al-Rahman and Bedr reached modern-day Morocco near Ceuta. Their next step would be to cross the sea to al-Andalus, where Abd al-Rahman could not have been sure whether or not he would be welcomed. Following the Berber Revolt of the 740s, the province was in a crisis, with the Muslim community torn by tribal dissensions among the Arabs (the Qays–Yemeni feud) and racial tensions between the Arabs and Berbers. At that moment, the nominal ruler of al-Andalus, emir Yusuf ibn Abd al-Rahman al-Fihri—another member of the Fihrid family and a favorite of the old Arab settlers (baladiyun), mostly of south Arabian or "Yemeni" tribal stock—was locked in a contest with his vizier (and son-in-law) al-Sumayl ibn Hatim al-Kilabi, the head of the "Syrians"—the shamiyun, drawn from the junds or military regiments of Syria, mostly of north Arabian Qaysid tribes—who had arrived in 742.H. Kennedy (1996) Muslim Spain and Portugal: a political history of al-Andalus. London: Longman.

Among the Syrian junds were contingents of old Umayyad clients, numbering perhaps 500, and Abd al-Rahman believed he might tug on old loyalties and get them to receive him. Bedr was dispatched across the straits to make contact. Bedr managed to line up three Syrian commanders—Ubayd Allah ibn Uthman and Abd Allah ibn Khalid, both originally of Damascus, and Yusuf ibn Bukht of Qinnasrin. The trio approached the Syrian arch-commander al-Sumayl (then in Zaragoza) to get his consent, but al-Sumayl refused, fearing Abd al-Rahman would try to make himself emir. As a result, Bedr and the Umayyad clients sent out feelers to their rivals, the Yemeni commanders. Although the Yemenis were not natural allies (the Umayyads are cousins of the Qaysid tribes), their interest was piqued. The emir Yusuf al-Fihri had proven himself unable to keep the powerful al-Sumayl in check and several Yemeni chieftains felt their future prospects were poor, whether in a Fihrid or Syrian-dominated Spain, so that they had a better chance of advancement if they hitched themselves to the glitter of the Umayyad name. Although the Umayyads did not have a historical presence in the region (no member of the Umayyad family was known to have ever set foot in al-Andalus before) and there were grave concerns about young Abd al-Rahman's inexperience, several of the lower-ranking Yemeni commanders felt they had little to lose and much to gain, and agreed to support the prince.

Bedr returned to Africa to tell Abd al-Rahman of the invitation of the Umayyad clients in al-Andalus. Shortly thereafter, they set off with a small group of followers for Europe. When some local Berber tribesmen learned of Abd al-Rahman's intent to set sail for al-Andalus, they quickly rode to catch up with him on the coast. The tribesmen might have figured that they could hold Abd al-Rahman as hostage, and force him to buy his way out of Africa. He did indeed hand over some amount of dinars to the suddenly hostile local Berbers. Just as Abd al-Rahman launched his boat, another group of Berbers arrived. They also tried to obtain a fee from him for leaving. One of the Berbers held on to Abd al-Rahman's vessel as it made for al-Andalus, and allegedly had his hand cut off by one of the boat's crew.Ahmed ibn Muhammad al-Maqqari, The History of the Mohammedan Dynasties in Spain. pp. 65–68.

Abd al-Rahman landed at Almuñécar in al-Andalus, to the east of Málaga, in September 755; however, his landing site was unconfirmed.

Fight for power

Upon landing in Torrox, al-Andalus, Abd al-Rahman was greeted by clients Abu Uthman and Ibn Khalid and an escort of 300 cavalry. During his brief time in Málaga, he was able to amass local support quickly. Waves of people made their way to Málaga to pay respect to the prince they thought was dead, including many of the aforementioned Syrians. One famous story that persisted through history related to a gift Abd al-Rahman was given while in Málaga. The gift was a beautiful young slave girl, but Abd al-Rahman humbly returned her to her previous master.

News of the prince's arrival spread throughout the peninsula. During this time, emir al-Fihri and the Syrian commander al-Sumayl pondered what to do about the new threat to their shaky hold on power. They decided to try to marry Abd al-Rahman into their family. If that did not work, then Abd al-Rahman would have to be killed. Abd al-Rahman was apparently sagacious enough to expect such a plot. In order to help speed his ascension to power, he was prepared to take advantage of the feuds and dissensions. However, before anything could be done, trouble broke out in northern al-Andalus. Zaragoza, an important trade city on the Upper March of al-Andalus, made a bid for autonomy. Al-Fihri and al-Sumayl rode north to quash the rebellion. This might have been fortunate timing for Abd al-Rahman, since he was still getting a solid foothold in al-Andalus. By March 756, Abd al-Rahman and his growing following of Umayyad clients and Yemeni junds, were able to take Sevilla without violence. He managed to break the rebellion attempt in Zaragoza, but just about that time the Cordovan governor received news of a Basque rebellion in Pamplona. An important detachment was sent by Yusuf ibn 'Abd al-Rahman to quash it, but his troops were annihilated. After the setback, al-Fihri turned his army back south to face the "pretender". The fight for the right to rule al-Andalus was about to begin. The two contingents met on opposite sides of the River Guadalquivir, just outside the capital of Córdoba on the plains of al-Musarah. There the decisive battle of al-Musarah or Alameda between the two contingents took place.