Following Operation Goranboy in 1992, the Azeri forces lost the control of the territory of former Nagorno-Karabakh Autonomous Oblast by mid-1993. During the military rebellion in Ganja by Colonel Surat Huseynov followed by political turmoil in Baku in June 1993, Huseynov pulled his forces back from the Karabakh front and marched on Baku. The Armenian forces advanced on Agdam. The city of Agdam is about 30 km northeast of Stepanakert. Azerbaijanis in Agdam and Armenians in Stepanakert and Askeran would exchange heavy artillery fire. The shelling of Agdam became more intense starting from early March 1993.
Battle
The occupation of Agdam started on June 12 from north and south of Agdam using Grad missile launchers, heavy artillery and tanks. The campaign also included simultaneous assault on Tartar. The first attack on the city was repelled by Azerbaijani defense. The clash was marked by the death of Monte Melkonian, a famed Armenian military commander. Armenians were able to capture Farukh mountain 10 km away from Agdam overlooking the town from the northeast. Khydyrly village around which Azerbaijani forces took up positions fell next. Shelling of Qiyasli village situated several kilometers behind the city of Agdam to the east, started on June 20 and within three days was overrun by Armenian forces. At the same time, the Armenian forces moved towards the city from the south occupying Merzili and Yusifcanlı villages. By July 5, the city of Agdam was surrounded by Armenian forces and was subject to heavy artillery and Grad bombardment. The city of Agdam fell on July 23.
Aftermath
Despite the national mobilization, Azerbaijani forces were able to retake only a few villages but not the city. Today the city lies in ruins and is used by the Nagorno-Karabakh Defense Army as a vital strategic defense point. Following the battle of Aghdam, on July 25 ceasefire was announced by Armenian authorities and Azerbaijani government. In the course of next three months, Armenians occupied four new Azerbaijani districts of Qubadli, Jabrayil, Fizuli and Zangelan resulting in displacement of 350000 of Azerbaijani civilians. Several villages such as Chirakhly and the city of Agdam became ghost towns. Other villages of the Agdam Rayon were repopulated by the IDPs from the former NKAO.