The Caliphate of Córdoba (خلافة قرطبة; transliterated Khilāfat Qurṭuba), also known as the Cordoban Caliphate, was an Arab Islamic state ruled by the Umayyad dynasty from 929 to 1031. Its territory comprised Iberia and parts of North Africa, with its capital in Córdoba. It succeeded the Emirate of Córdoba upon the self-proclamation of Umayyad emir Abd ar-Rahman III as caliph in January 929. The period was characterized by an expansion of trade and culture, and saw the construction of masterpieces of al-Andalus architecture. The caliphate disintegrated in the early 11th century during the Fitna of al-Andalus, a civil war between the descendants of caliph Hisham II and the successors of his hajib (court official), Al-Mansur. In 1031, after years of infighting, the caliphate fractured into a number of independent Muslim taifa (kingdoms). Abd ar-Rahman I became emir of Córdoba in 756 after six years in exile after the Umayyads lost the position of caliph in Damascus to the Abbasids in 750. Intent on regaining power, he defeated the area's existing Islamic rulers and united various local fiefdoms into an emirate. Raids then increased the emirate's size; the first to go as far as Corsica occurred in 806. The emirate's rulers used the title "emir" or "sultan" until the 10th century. In the early 10th century, Abd ar-Rahman III faced a threatened invasion from North Africa by the Fatimid Caliphate, a rival Shiite Islamic empire based in Ifriqiya. Since the Fatimids also claimed the caliphate, in response Abd ar-Rahman III claimed the title of caliph himself. Prior to Abd ar-Rahman's proclamation as the caliph, the Umayyads generally recognized the Abbasid caliph of Baghdad as being the rightful rulers of the Muslim community. Even after repulsing the Fatimids, he kept the more prestigious title. Although his position as caliph was not accepted outside of al-Andalus and its North African affiliates, internally the Spanish Umayyads considered themselves as closer to Muhammad, and thus more legitimate, than the Abbasids.