Sri Guru Hargobind Sahib Ji built a small fort at this location called Lohgarh; it was attacked by the Mughals in 1628.