 Ayyub marched on Cairo in an attempt to drive out al-Adil, but during his absence al-Kamil's brother as-Salih Isma'il took over Damascus, and Ayyub was taken prisoner by an-Nasir Dawud.The crusaders, meanwhile, marched to Ascalon.Along the way, Walter of Brienne captured livestock intended to resupply Damascus, as the Ayyubids had probably learned of the crusaders' plans to attack it.