تاريخ الطبري
The siege of Baghdad was a part of a civil war between al-Amin and al-Ma'mun for the Abbasid Caliphate of Baghdad. The siege lasted from August 812 until September 813. The siege is described in great detail by Muhammad ibn Jarir al-Tabari in his famous "History of the Prophets and Kings".