repression, large parts of the country, especially the rural areas, organized into open revolt against the PDPA government. By spring 1979, unrest had reached 24 out of 28 Afghan provinces, including major urban areas. Over half of the Afghan army either deserted or joined the insurrection. With religious elders declaring a jihad against the government, in May 1979 Massoud prepared in Peshawar to oppose the new communist government in Panjshir. Along with twenty-four of his friends, Massoud took a bus to Bajaur and, with arms-smuggling Pashtun tribesmen, marched on foot into the Panjshir Valley. Massoud's group seized control over a number of government outposts in the Valley, entered the Shomali Plain to capture Gulbahar, and cut off the Salang Highway, the main supply route between Kabul and the Soviet border raising alarm in both Kabul and Moscow which brought upon Massoud and his group a government counterattack. Believing that an uprising against the Soviet-backed communists would be supported by the people, Massoud, on July 6, 1979, started an insurrection in the Panjshir, which initially failed. Massoud decided to avoid conventional confrontation with the larger government forces and to wage a guerrilla war. He subsequently took full control of Panjshir, pushing out Afghan communist troops. Oliver Roy writes that in the following period, Massoud's "personal prestige and the efficiency of his military organization persuaded many local commanders to come and learn from him." Resistance against the Soviet Union (1979–1989) Following the 1979 Soviet invasion and occupation of Afghanistan, Massoud devised a strategic plan for expelling the invaders and overthrowing the communist regime. The first task was to establish a popularly based resistance force that had the loyalty of the people. The second phase was "active defense" of the Panjshir stronghold, while carrying out asymmetric warfare. In the third phase, the "strategic offensive", Massoud's forces would gain control of large parts of Northern Afghanistan. The fourth phase was the "general application" of Massoud's principles to the whole country, and the defeat of the Afghan communist government. Massoud's mujahideen attacked the occupying Soviet forces, ambushing Soviet and Afghan communist convoys travelling through the Salang Pass, and causing fuel shortages in Kabul. The Soviets mounted a series of offensives against the Panjshir. Between 1980 and 1985, these offensives were conducted twice a year. Despite engaging more men and hardware on each occasion, the Soviets were unable to defeat Massoud's forces. In 1982, the Soviets