The fort was constructed by mughal Nawab Saif Khan in 1658 A.D where Guru Teg Bahadur visited him and later renovated by a Sikh ruler Maharaja Karam Singh in 1837. The construction of the entire fort was completed in eight years. A sum of ten lakh rupees was spent on its construction.