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.
Dhillika was eventually conquered by Muslims in the 13th century.