During the first invasion of Azerbaijan by the Mongols in 1220-1223, cities such as Bailagan, Barda, Ganja, which were the territory of the Atabegs of Azerbaijan, were destroyed. At that time, there was a political disintegration in the state of Atabegs of Azerbaijan. After the defeat of the Empire of Khorezmshahs, the 20,000 Mongolian expeditionary corps led by the military commanders Jebe and Subutay in the persecution of the last Khorezmshah conquered Iran and attacked the territories that nowadays comprise Azerbaijan in 1220. The Mongols invaded from Nakhichevan, driving Atabeg Uzbek from Ganja in Azerbaijan to Tabriz. The Mongols, who entered the territory of Azerbaijan, spent the winter in the Mughan steppe.
