The Khonakoh Mosque is the oldest surviving religious structure in the Fergana Valley. Built in the 16th century, it has withstood numerous earthquakes over its five-century history. Each era it has witnessed left an imprint on its architecture, resulting in a structure that features elements from various periods. Since Uzbekistan gained independence, the mosque has undergone extensive restoration and now serves as Margilan’s functioning cathedral mosque.