During the 1980s Soviet–Afghan War, Mazar-i-Sharif was a strategic base for the Soviet Army as they used its airport to launch air strikes on mujahideen rebels. Mazar-i-Sharif was also the main city that linked to Soviet territory in the north, especially the roads leading to the Uzbek Soviet Socialist Republic. As a garrison for the Soviet-backed Afghan Army, the city was under the command of General Abdul Rashid Dostum. Mujahideen militias Hezbe Wahdat and Jamiat-e Islami both attempted to contest the city but were repelled by the Army.