The Ghurid empire began to collapse after the successive deaths of Ghiyath al-Din in 1203 and his successor Muizz al-Din in 1206.[1] Firozkoh remained rich for a time, however - Juzjani wrote that the treasury contained "400 camel loads of gold in 800 chests", although this claim may be unreliable. By 1215, Firozkoh was attacked and defeated by Muhammad II of Khwarazm. However, the city rebelled against his rule when the Khwarazmenian Empire was attacked by the Mongols.