Khwarazmian dynasty
In the 1200s, Sialkot was the only area of western Punjab that was ruled by the Mamluk Sultanate in Delhi. The area had been captured by the Ghauri prince Yildiz, but was recaptured by Sultan Iltutmish in 1217. Around 1223, Jalal ad-Din Mingburnu, the last king of the Khwarazmian dynasty of Central Asia that had fled invasion of Genghis Khan there, briefly captured Sialkot and Lahore, before being driven out by Iltutmish's forces towards Uch Sharif. During the 13th century, Imam Ali-ul-Haq, Sialkot's most revered Sufi warrior-saint, arrived from Arabia, and began his missionary work in the region that successfully converted large numbers of Hindus to Islam, thereby transforming Sialkot into a largely Muslim city. The saint later died in battle, and is revered as a martyr.