The mosque was founded by Hakim Ilmud Din Ansari, a distinguished physician from Chiniot who received the Ministerial title of 'Wazir Khan' under the reign of Shah Jahan, and was later promoted to the position of Viceroy of Punjab.
One of the unique painted minarets
Interior before restauration
In 1977 the mosque was extensively restored using local craftsmen and revived ancient techniques.