Mir Kasim fled to Awadh and allied with the Nawab of Awadh (Shuja-ud-Daulah) and the Mughal Emperor (Shah Alam II).