‘Panchakki’ is a medieval genius of engineering, which used to generate energy from water flowing from a nearby spring from a mountain. The complex was developed in the 17th-18th century by Turktaz Khan and Jamil Begh Khan who was noble to churn flour for the pilgrims, disciples of saints and troops.
There is a building connected to the dargah of Baba Shah Musafir, a Sufi Saint. This building is situated in a garden near the Mahmud Darvaza. We can see a mosque, a madrassa, a kacheri, a minister's house, a Sarai and houses for zananas at this place. All these places make our visit worthwhile.
One of the amazing facts is that the water is still carried to the site from the old clay pipes from a distance of 6 KM. The water is then emptied into a huge main tank from an elevated stone pillar.