 After the victory over Prithviraj Chauhan, Muhammad Ghuri donated 52000 Bigha of land to his commander Qutb-ud-din Aibak.Mughal emperors Babur and Humayun also stayed here for some time.In 1757, the town was sacked and captured by the forces of the Hindu Maratha Empire.