The siege of Damascus of 1229 was part of an Ayyubid succession war over Damascus that broke out following the death of al-Muʿaẓẓam I in 1227. The late ruler's son, al-Nāṣir Dāʾūd, took de facto control of the city in opposition to al-Kāmil, the Ayyubid sultan in Egypt. In the ensuing war, al-Nāṣir lost Damascus but preserved his autonomy, ruling from al-Karak.