Agdam Mosque

The Agdam Mosque () or Juma Mosque () is a mosque in the ghost town of Agdam, Azerbaijan. It is the only building left standing in Aghdam as all of the town that was destroyed following the First Nagorno-Karabakh War by Armenian forces.
History.
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 Fuzuli and one in the village of Goradiz.
Armenian occupation.
The Agdam mosque is the only building left standing in Aghdam. The mosque has been vandalized, used as a cowshed and the roof and attic of the mosque have been pulled down, while windows, doors, interior finish and the marble floor have been destroyed.
In June 2010, Andrei Galafyev, a photographer who visited the mosque in 2007, reported that "The floor in the mosque is entirely dirtied with manure of cattle, which wanders on the ruins of Agdam in daytime." His photographs showed cattle within the mosque. This report generated criticism from an Azerbaijani news site, who complained, claiming that the mosque is being used as a cowshed and pigpen.
In November 2010 the government of Nagorno-Karabakh announced that the mosque and its surroundings had been cleaned. They also announced that the mosque of Agdam, as well as the mosques of Shusha, had been refurbished.
After the ceding of Agdam 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. Associated Press reported that the Agdam Mosque was the only structurally intact building in the city, and that Armenians vandalized it with graffiti and used it as a stable for cattle and swine for years.