Legends say that the Agrasen ki Baoli (step well) was originally built by legendary King Agrasen during Mahabharta Time around 3000 BC and the present architecture was rebuilt in the 14th century during the Tughlag or Lodi period of the Delhi Sultanate.