Umayyad authority nearly collapsed in their Syrian stronghold after the death of Mu'awiya II. Al-Dahhak in Damascus, the Qays tribes in Qinnasrin (northern Syria) and the Jazira, the Judham in Palestine, and the Ansar and South Arabians of Homs all opted to recognize Ibn al-Zubayr. Marwan ibn al-Hakam, the leader of the Umayyads expelled to Syria from Medina, was prepared to submit to Ibn al-Zubayr as well, but was persuaded to forward his candidacy for the caliphate by Ibn Ziyad. The latter had been driven out of Iraq and strove to uphold Umayyad rule. During a summit of pro-Umayyad Syrian tribes, namely the Quda'a and their Kindite allies, organized by Ibn Bahdal in the old Ghassanid capital of Jabiya, Marwan was elected caliph in exchange for economic privileges to the loyalist tribes. At the subsequent Battle of Marj Rahit in August 684, Marwan led his tribal allies to a decisive victory against a much larger Qaysite army led by al-Dahhak, who was slain. Not long after, the South Arabians of Homs and the Judham joined the Quda'a to form the tribal confederation of Yaman. Marj Rahit led to the long-running conflict between the Qays and Yaman coalitions. The Qays regrouped in the Euphrates river fortress of Circesium under Zufar ibn al-Harith al-Kilabi and moved to avenge their losses. Although Marwan regained full control of Syria in the months following the battle, the inter-tribal strife undermined the foundation of Umayyad power: the Syrian army.