This Gurdwara was one of the forts constructed by Guru Gobind Singh at Anandpur Sahib for the defense of the Sikhs.
He spent his 25 years at Anandpur Sahib and, to protect the Sikhs from the Rajas of the Hill States and Mughals, began the construction of five defensive Qilas (forts) all around the town.
[3][4] Originally, the Sarai Ganga tributary of the Sutlej River flowed south-westwards from the site of Anandpur Sahib but it no longer does today as its course has changed.
[3] The Qilas (meaning "fortress"), constructed by Guru Gobind Singh at Anandpur Sahib are:[5][3] 1.
[3] The original structures of the forts were destroyed by Kar Seva renovators in the 20th century and marble Gurdwaras were constructed in their former location.