In the 8th century, Palestine and Transjordan were functioning as two administrative districts: Jund Filastin and Jund al-Urdunn. Jund Filastin stretched from Rafah to Lajjun, encompassing much of the coastal plain of Palestine and included Samaria and Mount Hebron, while Jund al-Urdunn consisted of the Galilee, Jabal Amil, and most of Transjordan (east of the Jordan River). Both districts were a part of the larger province of Bilad ash-Sham of the Abbasid Caliphate. The Abbasids annexed Bilad ash-Sham after defeating the Umayyad dynasty in 750. The capital of the Caliphate was subsequently moved from Damascus to Baghdad, and Palestine consequently lost its central position in the state, becoming a distant district whose affairs were not as closely monitored or regulated as they were under the Umayyads. The Abbasids were also facing difficulties suppressing rebellions throughout the Caliphate at the time of the intertribal hostilities in Palestine. Various Arab tribes populated the regions of Palestine and Transjordan and formed confederations. The Mudhar (also referred to as Qays or Nizar) faction, led by Amir ibn Umara al-Murri, represented the northern tribes, while the Yamani faction represented the southern tribes. Ibrahim ibn Salih, the governor of Bilad ash-Sham and a cousin of the caliph al-Mahdi, regularly dealt with the affairs in Jund Filastin. He and his aide, Ishaq ibn Ibrahim tended to favor the Yamani tribe in its disputes with the Mudhar.