On July 7, 2019, as part of the "Khan's Palace, Sheki's Historical Center", the Shaki Xan Mosque was included in the UNESCO World Heritage List.
After the completion of the mosque's construction, the poet Haji Muhammad Jalabi Efendi Zari, who lived during that period, composed a qasida consisting of nine verses.
Additionally, literary scholar Salman Mumtaz states that the term "Riyaz-ul-Ulama," when calculated using the abjad system, corresponds to the construction date of the mosque in AH 1183 (1769/1770).
In December of the same year, the Azerbaijan Communist Party Central Committee transferred many mosques, churches, and synagogues to the balance of educational clubs.
[9] The mosque, by the decision numbered 132 of the Cabinet of Azerbaijan on August 2, 2001, was included in the list of local significant immovable historical and cultural monuments.
On July 7, 2019, together with the Khan's Palace, it was included in the UNESCO World Heritage List as "Shaki's Historical Center.
[13] After several years of legal disputes, the mosque was eventually reclaimed and placed under the balance of the State Tourism Agency of the Republic of Azerbaijan.
[14] Before the restoration, research was conducted by the employees of the Institute of Archaeology and Ethnography of the Azerbaijan National Academy of Sciences (AMEA), led by Zaur Huseynov.
Research and genetic analyses were conducted not only in the United Kingdom but also in Austria, Estonia, and Turkey, based on samples from the discovered skeleton and other graves related to the Khan lineage on the mosque's premises.
[17] The restoration works on the mosque complex were carried out based on a project prepared by the University of Architecture and Construction at the request of the State Tourism Agency.
The windows and the door used by Muhammad Hussein Khan during the initial construction of the mosque were restored based on the architects' recommendations.
[19] In the mosque courtyard, a new pool has been constructed in place of the old one, and facilities such as a charitable house, ablution area, and administrative rooms have been built.
The museum showcases various artifacts related to the period of the Sheki Khanate, presenting material and cultural examples collected from different sources.