The Soviet–Afghan War or the Soviet invasion of Afghanistan was a war initially fought between the forces of the communist government of Afghanistan and fighters supported from abroad. Without proper equipment and training, the communist Afghan government was unable to resist the opposition, known as the Mujahideen, and eventually sought the aid of the Soviet Union. The Soviets' entry to the country caused an immediate increase in the presence of foreign involvement with Islamists from around the world coming to Afghanistan to join the mujahideen. Massive military campaigns against the Mujahideen, who blended in with the local population, caused extensive destruction of local infrastructure and death, which made the local population to side with the Mujahideen. That caused a loss of support for the Soviet military presence and eventually created a nationwide resistance during the conflict.