Read the story
The verses are attributed to an emir speaking to a tree: "Oh palm! You are, like me, a foreigner in the West, far from your homeland." He knew the feeling well.
Abd al-Rahman was a grandson of the caliph Hisham, born into the Umayyad family that ruled the Islamic world from Damascus. In 750, the Abbasid Revolution overthrew that dynasty. At about twenty, Abd al-Rahman ran, with his brother Yahya and a freedman named Badr. At the Euphrates, he and Badr threw themselves into the river and reached the far bank. Yahya turned back, and Abbasid horsemen killed him.
The fugitive crossed Palestine and Egypt into North Africa, the land of his mother's Berber people, and in September 755 he landed in al-Andalus. The next year, at al-Musara near Córdoba, he defeated the emir, Yusuf al-Fihri, and made Córdoba his capital. History remembers him as al-Dakhil: the Immigrant.
Nearly three decades later, in 785, he began a great mosque here. The traditional account says Muslims and Christians had been sharing the church of San Vicente on this spot, and that the emir bought the Christian half, by one telling for a hundred thousand dinars. Historians are divided. The story first surfaces in a fourteenth-century chronicle, and the archaeology is thin and disputed.
What is certain is still standing. The builders finished in about a year, and every column and capital in that first hall was salvaged from Roman and Visigothic buildings, some 120 columns set in eleven aisles. Here on the west wall, the Puerta de San Esteban, once the Gate of the Viziers, is the oldest door the mosque has; its carved decoration was completed in 855.
Abd al-Rahman died in 788. Tradition says he brought the date palm to Spain. The exile never went home, so he planted a piece of it, and raised his prayer hall from the stones of the people who came before him.