Agdam Mosque

The Aghdam Mosque (Ağdam məscidi) or Juma Mosque (Cümə məscidi) is a mosque in the ghost town of Aghdam, Azerbaijan.

Construction
The mosque was built by the architect Karbalayi Safikhan Karabakhi from 1868 to 1870, in the typical style for mosques in the Karabakh region, which included the division of stone columns on the two-story gallery and the use of domed ceilings. Other mosques in this style include Barda Mosque, the Yukhari Govhar Agha Mosque in Shusha, a mosque in the city of Fuzuli and one in the village of Horadiz.

Armenian occupation
During the First Nagorno-Karabakh war, Aghdam was used by Azerbaijani forces to fire BM-21 Grad long-range missiles at the Armenian populace of Stepanakert. Aghdam later came under the control of Armenian forces. After the capture, according to eyewitnesses, the city was plundered, destroyed and burned. The Aghdam mosque, the only building left standing in Aghdam, has been vandalized with graffiti and used as a stable for cattle and swine. A narrative of "barbarous Armenians who turn mosques into pigsties" would become an important component of mobilization in Azerbaijan in the prelude to the 2020 Nagorno-Karabakh war.

In 2009, the Republic of Artsakh began funding measures to preserve Islamic monuments. According to Artsakh officials the surroundings of the Aghdam mosque were cleaned from the rubble and fenced in 2010. The RFE/RL journalist Stepan Lohr, who visited Agdam in 2011, posted photos of the mosque with no roof, and what he described as "the neglected and damaged interior of Aghdam's once-glorious mosque". A satellite investigation conducted by the Caucasus Heritage Watch of Cornell University found that between 1977 and 2019, the overall structure and shape of the mosque remained unchanged. Since 1992, the mosque sustained minor damage under Armenian control, with only the modern roofing installed during Soviet times being removed.

After Second Nagorno-Karabakh war
Following Azerbaijan's victory in the Second Nagorno-Karbakah war, it regained the district of Aghdam through the 2020 Nagorno-Karabakh ceasefire agreement on 20 November 2020. Three days later, president Ilham Aliyev and first lady Mehriban Aliyeva visited the ruins of the city and the Aghdam mosque. Aliyev gifted a Quran from Mecca to the mosque.

After the ceding of Aghdam back to Azerbaijan, the first Friday prayer in 28 years was held in the mosque by the last imam of the mosque and Azerbaijani soldiers.