The Jarrahids (Banu al-Jarrah) were the ruling clan of the Tayy tribe.[3][4] The Jarrahids initially controlled fortresses in the Sharat mountains.[5] The first member of the Banu al-Jarrah to be mentioned in the historical record was Daghfal ibn al-Jarrah, an ally of the Qarmatians.[6] He was based in al-Ramla, the center of Jund Filastin (District of Palestine).[6] Daghfal provided safe haven for an officer of the Qarmatian ruler, Abu Tahir al-Jannabi, when the latter departed to lead an expedition against Fatimid Egypt in 972 CE.[6] Two years later, a certain Hassan ibn al-Jarrah (possibly the same person as Daghfal) was a commander of auxiliaries in the Qarmatian army during a second invasion of Egypt.[6] Hassan accepted a bribe to defect by the Fatimid caliph al-Mu'izz, and his defection resulted in the rout of the Qarmatian force at the outskirts of Cairo and the subsequent Fatimid reoccupation of Palestine and Syria as far as Damascus.[6][7]