The Umayyad dynasty (Arabic: بَنُو أُمَيَّةَ, romanized: Banū Umayya, lit. 'Sons of Umayya'), or the Umayyads (Arabic: الأمويون, romanized: al-Umawiyyūn) was an Arab clan within the Quraysh tribe who were the ruling family of the Umayyad Caliphate in 661–750 and the Emirate and later Caliphate of Córdoba in 756–1031.
In the pre-Islamic period, the Umayyads were a prominent clan of the Meccan tribe of Quraysh, descended from Umayya ibn Abd Shams. Despite staunch opposition to the Islamic prophet Muhammad, the Umayyads embraced Islam before the former's death in 632. Uthman ibn Affan, an early companion of Muhammad from the Umayyad clan, was the third Rashidun caliph, ruling in 644–656, while other members held various governorships. This included Mu'awiya ibn Abi Sufyan, the long-time governor of the Levant, who opposed the fourth Rashidun caliph Ali ibn Abi Talib in the First Muslim Civil War (656–661) and afterwards founded the Umayyad Caliphate with its capital in Damascus. This marked the beginning of the Umayyad dynasty, the first hereditary dynasty in the history of Islam, and the only one to rule over the entire Islamic world of its time. Umayyad authority was challenged in the Second Muslim Civil War, during which the Sufyanid line of Mu'awiya (which includes only the three first Umayyad caliphs) was replaced in 684 by Marwan I, who founded the Marwanid line of Umayyad caliphs, which restored the dynasty's rule over the Caliphate and remained so until the fall of the Caliphate of Córdoba.