He later used the building for the state treasury .
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 .
Ranjit Singh later used the building for the state treasury .
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 .