After the Red Army invasion of Azerbaijan in 1920, Azerbaijan was integrated into the Soviet Union and the uyezd was abolished by Soviet authorities in 1929.