As Mir Jumla's invasion of Assam commenced, Shirazi fled from Guwahati to Dhaka in 1658 after the Ahoms and the Koch Biharis rebelled, being led by their rulers Supangmung and Pran Narayan respectively.