 However, under the Jarrahid chieftains, the Tayy assisted the Fatimids, who conquered the Ikhshidids, against the Qarmatians in 971 and 977.During the latter occasion, the Jarrahid chieftain Mufarrij ibn Daghfal captured the pro-Qarmatian rebel, Alptakin, and handed him over to the Fatimids in exchange for a large reward.In return for his support, Mufarrij was appointed by the Fatimids as the governor of Ramla, the traditional Muslim capital of Palestine.