Battle of Marj Rahit It is likely the Qays and Yaman factions firmly took shape after Mu'awiya I's reign; previously, differences between Qaysi and Yamani tribes were "fairly harmless", according to historian
Hugh N. Kennedy. Mu'awiya's reliance on Kalb troops and his son
Yazid's mother being Kalbi caused unease among Qays chieftains. There were no obvious successors among the ruling Sufyanid branch of the Umayyad dynasty, which the Kalb were determined to preserve so as to maintain the administrative and military privileges they acquired under them. Thus, the Kalb's chieftain,
Hassan ibn Malik ibn Bahdal, assembled the representatives of the Yamani tribes of Syria for a
shura (council) in
Jabiyah wherein they chose an Umayyad outsider,
Marwan (r. 684–685), to be the next caliph; Marwan made significant political concessions to the Kalb, which drove the Qays, led by the governor of Damascus,
al-Dahhak ibn Qays al-Fihri, to back
Abdullah ibn Zubayr's claim to the caliphate. Other Yamani tribes that joined Marwan were the
Tayy, al-Qayn and Tanukh. As the Qays under al-Dahhak marched toward Marwan's camp, a Ghassanid scion, Yazid ibn Abi al-Nims, led a revolt in Damascus that drove al-Dahhak's men out of the city. The two factions then fought at the
Battle of Marj Rahit, which lasted twenty days, beginning on 18 August 684.
Ayyam raids (685–705), depicted on this gold dinar issued by him, struggled to keep peace between the Qays and Yaman. Following Marj Rahit, the Qays initiated a series of raids and counter-raids against the Yaman, particularly the latter's leading faction, the Kalb. Because each confrontation was typically a day-long, the raids were referred to by medieval Arab sources as
ayyām (days; sing.
yawm), with each
yawm named after the place where the attack occurred. The sources of the
ayyām battles were contemporary Arab poems and stories that were preserved in the
Kitab al-Aghani,
Kitab al-Hamasah and the histories of
al-Mada'ini (d. ca. 843) and
Ibn al-Athir (d. 1233). Umayr followed up on his victory by leading several damaging raids against the Kalb in their dwelling places in the Samawah desert, including at a well named Kaaba, in which Humayd was nearly killed. had settlements stretching from the Khabur eastward beyond the
Tigris River. Instead, Umayr received sanction from the Zubayrids to assault the Taghlib, and with a large force he massacred numerous Taghlib tribesmen at the Khabur village of
Makisin. Further Qaysi-Taghlib skirmishes, which also dragged in Zufar on the side of Umayr, took place along the Khabur, Tigris,
Balikh and
Tharthar rivers. The latter sent Umayr's head to Abd al-Malik. Afterward, he executed 200 captured Taghlib tribesmen. The entry of Qays into the reconstituted Umayyad army of Syria ended Yamani, and specifically Kalbi, monopolization of that institution; from then on Abd al-Malik sought to balance each faction's interest within the military. Abd al-Malik's forces also defeated the Umayyads' Zubayrid rivals and patrons of the Qays,
Mus'ab ibn al-Zubayr in Iraq in October 691 and Abdullah ibn al-Zubayr in
Mecca in September 692. These developments put an end to Qaysi attacks against the Taghlib. Around this time, the Taghlib's celebrated poet and representative to the Umayyad court,
al-Akhtal, recited a poem to Abd al-Malik boasting of the victory over Qays and their surrender to Abd al-Malik: (Thanks to us) the men of Qays came forth hastening to pledge allegiance to you [Abd al-Malik] publicly after long denial. May God never lead Qays back from their error; and may no one say 'Take care!' when they stumble ... ... They [Qays] lived in blessed abundance till they were caught in Satan's [Ibn Zubayr's] snares. —
Al-Akhtal, circa 691/92. Despite Abd al-Malik's accord with the Qays, the two camps continued to attack each other. Thereafter, the battles spread to the
Hejaz and Iraq, unlike most of the early confrontations, which occurred in Upper Mesopotamia and the Palmyrene steppe. The Fazara protested these assaults to Abd al-Malik, surrendered themselves to avert a military assault against their tribe. These affiliations played an important role during future intra-Umayyad rivalry. Al-Walid, whose mother Wallada was Qaysi, afforded the Qays a degree of privilege. There is disagreement among historians over the basis of the Qays–Yaman conflict during and after Sulayman's reign. In Iraq, the two major rival tribes,
Azd and
Tamim, became the central component of the Yaman and Qays, respectively, in that province. His appointment of provincial governors was based on competence and loyalty to his authority. During Yazid II's reign, Ibn al-Muhallab revolted in Iraq, capturing
Wasit and
Kufa. Hisham's reign was one of the most internally peaceful periods in the Umayyad Caliphate, To that end, in 738, he replaced al-Qasri, who had possible Yamani sympathies, with the staunch Qaysi,
Yusuf ibn Umar of
Thaqif, and appointed another Qaysi stalwart,
Nasr ibn Sayyar, as governor of Khurasan. However, this situation unraveled as a result of the policies and incompetence of his successor,
al-Walid II (r. 743–744). The rebels captured Damascus, then besieged and killed Walid II in the vicinity of
Palmyra in 744. The Qays were the only part of the Syrian elite that backed Marwan II's usurpation, after which the leaders of Yaman were driven out of Syria. Iraq, with the exception of Qaysi-held Wasit, was conquered by the
Abbasids under
as-Saffah (r. 750–754) in October 749. Qaysi troops rallied behind Marwan II as he advanced against the Abbasids, but he was decisively defeated at the
Battle of Zab in February 750; Umayyad power all but diminished as a result. When the Abbasid army reached Damascus in pursuit of Marwan II, Yamani tribesmen facilitated their entry into the city. ==Post-Umayyad period==