After the demise of the Mughal Empire , the mosque was converted into a Sikh temple .
After the demise of the Mughal Empire , the mosque was renamed Moti Mandir during the period of the Sikh rule under Ranjit Singh 's Sikh Confederacy .
After the demise of the Mughal Empire , the mosque was converted into a Sikh temple and renamed Moti Mandir during the period of the Sikh rule under Ranjit Singh 's Sikh Confederacy .