Most of the buildings in the dargah complex (including Panchakki) were erected by Turktaz Khan, a noble on the staff of Nizam-ul-Mulk Asaf Jah in about 1695 A. D. The oblong reservoir in front of the mosque and fountains were added 20 years later by Jamil Beg Khan. This water mill was designed to use the energy generated by flowing water from a nearby spring to turn the large grinding stones of the flour mill.
Most of the structures within the shrine complex, including Panchakki, were constructed by Turktaz Khan, a high-ranking official under Nizam-ul-Mulk Asaf Jah around 1695 A. D. The rectangular reservoir in front of the mosque and fountains were added 20 years later by Jamil Beg Khan. This water-powered mill was designed to utilize the energy from flowing water from a nearby spring to power the large grinding stones of the flour mill.