Afterward, Mufarrij returned to Palestine, only to be defeated again by the Fatimids.[3] This time, Mufarrij fled north toward Homs where he was given safe haven by the Hamdanids' Circassian governor, Bakjur, in late 982.[2][3] During the next ten years, Mufarrij vacillated between the Byzantines, Bakjur and the Fatimids.[2] By 997, the Jarrahids had attempted to sack Ramla, but were forced back and fled to the Jabal Aja and Salma mountains in northern Arabia, the ancestral territory of the Tayy.[2]