 Throughout the early 1240s , as @-@ Salih Ayyub carried out reprisals against those who supported al @-@ Adil II , and he then quarreled with an @-@ Nasir Dawud who had reconciled with as @-@ Salih Ismail of Damascus . The rival sultans as @-@ Salih Ayyub and Ismail attempted to ally with the Crusaders against the other . In 1244 , the breakaway Ayyubids of Syria allied with the Crusaders and confronted the coalition of as @-@ Salih Ayyub and the <unk> at <unk> , near Gaza . A large battle ensued , resulting in a major victory for as @-@ Salih Ayyub and the virtual collapse of the Kingdom of Jerusalem . 
