Khalid ibn Yazid  Abū Hāshim Khālid ibn Yazīd ibn Muʿāwiya ibn Abī Sufyān (ca. 668–704) was an Umayyad prince, commander and one-time candidate for the caliphal throne. As a son of Caliph Yazid I and brother of Caliph Mu'awiya II, Khalid was supported by powerful elements of the pro-Umayyad Syrian tribes of Kalb and Kinda to succeed Mu'awiya II in the wake of his death and the outbreak of the Second Muslim Civil War, which saw the Umayyad domains largely overtaken by supporters of the non-Umayyad, Caliph Abd Allah ibn al-Zubayr. Ultimately, Marwan I, a senior Umayyad from another branch of the clan, was chosen as caliph by the Syrians, thus ending the rule of the Sufyanid household to which Khalid belonged. Despite this, he forged close ties with Marwan's son and successor, Caliph Abd al-Malik, who appointed him to successive administrative and military roles. After successful campaigns against Ibn al-Zubayr's loyalists in Mesopotamia, Khalid lived the rest of his life in his Homs estate. Later sources turned Khalid into a legendary alchemist, known in the Latin sources as Calid. Khalid was likely born in circa 668 and was a son of the Umayyad caliph, Yazid I (), and Fakhita bint Abu Hashim ibn Utba, who belonged to the Rabi'a line of the Banu Abd Shams clan of the Quraysh; the Umayyads belonged to the Umayya line of this same clan. At the time of his brother Caliph Mu'awiya II's death in early 684, Khalid was still a minor. Umayyad authority had collapsed across the caliphate, with most provinces recognizing the suzerainty of the Mecca-based caliph Abd Allah ibn al-Zubayr. Likewise, in the Umayyads' stronghold of Syria, the Qaysi tribes in the north and the dominant factions of Homs and Palestine recognized Ibn al-Zubayr. Loyalist tribes, namely the Banu Kalb and their allies who dominated Jordan and Damascus, strove to preserve Umayyad rule and by extension, their financial and military privileges. Thus, Khalid was proposed as Mu'awiya II's successor by the Kalbi chieftain Ibn Bahdal, but this was opposed by the other tribal nobles due to Khalid's young age and inexperience.