 Nasir al-Din captured Lahore, and Iltutmish captured Uch after a three-month long siege, on 4 May 1228.Qabacha fled to Bhakkar, pursued by an army led by Iltutmish's wazir "Nizam al-Mulk" Junyadi.Finding himself in an unwinnable situation, Qabacha sent his son Malik Alauddin Bahram to Iltutmish, to negotiate a peace treaty.