Khan was a cook of Prince Dara Shikoh, elder son of Shah Jahan, in 1743 AD, who rose up to the position of kotwal (Chief police officer) of Lahore for his services.
[3] The mosque was completed in 1722 (1134 AH) by the Falak Beg Khan,[4] and was built on the premises of the shrine to Pir Shah Kaku.
[1] There was a public square near the mosque, where criminals were punished during the tenure of Nawab Zakariya Khan Bahadur, a Mughal governor of the Punjab in the 18th century.
On April 17, 1850, Nur Ahmed, a Muslim resident of Lahore, claimed to be a mutawallī (trustee) of the mosque and filed a case in Punjab High Court.
Nur Ahmed filed several suits between 1853 and 1883 to recover the Shaheed Ganj Mosque, but courts maintained the status quo.
Jamaat Ali Shah (1834–1951), born in Alipur Sharif Dist, Sialkot, Pakistan, led the Shaheed Ganj Mosque movement.