In December of that year, the Azerbaijan Communist Party Central Committee transferred many mosques, churches, and synagogues to the balance of clubs for educational purposes.
[3] In the 1930s, as part of the campaign against religion, mosques were closed and the surrounding religious schools and auxiliary buildings were dismantled.
[4] After Azerbaijan regained its independence, in 1992, renovation work was carried out in the mosque, and it was made accessible to the public.
[10] On the epigraphic inscription located above the entrance portico of the mosque building, verses from the Kuran are inscribed in Arabic and Persian languages.
Therefore, this mosque was completely built and restored in the month of Muharram of the year 1271 (September 1854) in memory of Haji Abbasgulu Bakikhanov and his wife Sakinakhanim.
After the passing of Sakina Khanum, the mosque was fully constructed and restored in the month of Muharram in the year 1271, which corresponds to September 1854."