The Tomara Rajputs made it their capital in 736, with the name of Dhillika, and it was a focus of clan wars until the Muslims conquered it and Qutb-ud-din Aybak set up his sultanate in 1206.
The name of Dhillika was changed by Qutb-ud-din Aybak.