The Soviet/Afghan force quickly took the valley, proclaiming victory. The reality was far different. Massoud's experienced guerrillas suffered few casualties and, within days, launched assaults against the entrenched Red Army troops. Afghan government soldiers, too, poorly paid and disheartened, slipped out at night with their weapons to join the resistance.
Massoud eventually made a truce with the Soviets. This enabled the Red Army a "take and hold" policy with several garrisons in the Panjshir. Some civilians returned, while the guerrillas established their own concealed bases in mountains beyond. The truce was much criticized by rival groups of mujahideen, but it was part of a long-term strategy: Massoud had no intention of collaborating with the regime. Occupation troops first had to leave before any unity government could be formed. It's the same refrain today by the Taliban, Hezb-e-Islami Gulbuddin, and other opposition groups.
For years, Massoud kept the Soviets tied down while focusing on other areas and building a highly proficient regional force denying the communists swaths of countryside. The mujahideen – like the Taliban now – always felt they had time on their side. All they needed to do was wear down the Red Army. At the height of the occupation, the Soviets commanded 120,000 troops in Afghanistan, compared with the 150,000 coalition high expected by next fall with completion of the US troop surge. When the Soviets, who suffered at least 15,000 deaths and thousands of injured, pulled out in February 1989, they had little to show but widespread destruction of much of the country. Three years later, the Moscow-backed regime in Kabul crumbled. Today, it's as if the Soviets had never been there.