State Department's Edmund McWilliams and Peter Tomsen, who were on the ground in Afghanistan and Pakistan. Others included two Heritage Foundation foreign policy analysts, Michael Johns and James A. Phillips, both of whom championed Massoud as the Afghan resistance leader most worthy of U.S. support under the Reagan Doctrine. Thousands of foreign Islamic volunteers entered Afghanistan to fight with the mujahideen against the Soviet troops. To organize support for the mujahideen, Massoud established an administrative system that enforced law and order (nazm) in areas under his control. The Panjshir was divided into 22 bases (qarargah) governed by a military commander and a civilian administrator, and each had a judge, a prosecutor and a public defender. Massoud's policies were implemented by different committees: an economic committee was charged with funding the war effort. The health committee provided health services, assisted by volunteers from foreign humanitarian non-governmental organizations, such as Aide médicale internationale. An education committee was charged with the training of the military and administrative cadre. A culture committee and a judiciary committee were also created. This expansion prompted Babrak Karmal to demand that the Red Army resume their offensives, in order to crush the Panjshir groups. However, Massoud had received warning of the attack through Britain's GCHQ intelligence and he evacuated all 130,000 inhabitants from the valley into the Hindukush mountains, leaving the Soviet bombings to fall on empty ground and the Soviet battalions to face the mountains. With the defeat of the Soviet-Afghan attacks, Massoud carried out the next phase of his strategic plan, expanding the resistance movement and liberating the northern provinces of Afghanistan. In August 1986, he captured Farkhar in Takhar Province. In November 1986, his forces overran the headquarters of the government's 20th division at Nahrin in Baghlan Province, scoring an important victory for the resistance. This expansion was also carried out through diplomatic means, as more mujahideen commanders were persuaded to adopt the Panjshir military system. Despite almost constant attacks by the Red Army and the Afghan army, Massoud increased his military strength. Starting in 1980 with a force of less than 1,000 ill-equipped guerrillas, the Panjshir valley mujahideen grew to a 5,000-strong force by 1984. After expanding his influence outside the valley, Massoud increased his resistance forces to 13,000 fighters by 1989. The junior commanders were trained by Britain's SAS as well as private military contractors, some being sent as far as Oman and