From 1978 until 1996, Afghanistan had a reformist government and women, in particular, made great strides. It was however, aligned with the Soviet Union, so the US funded and armed the mujahideen who rebelled against it and eventually won. From John Pilger at consortiumnews.com:
As a tsunami of crocodile tears engulfs Western politicians, history is suppressed. More than a generation ago, Afghanistan won its freedom, which the United States, Britain and their “allies” destroyed.
In 1978, a liberation movement led by the People’s Democratic Party of Afghanistan (PDPA) overthrew the dictatorship of Mohammad Dawd, the cousin of King Zahir Shah. It was an immensely popular revolution that took the British and Americans by surprise.
Foreign journalists in Kabul, reported The New York Times, were surprised to find that “nearly every Afghan they interviewed said [they were] delighted with the coup.” The Wall Street Journal reported that “150,000 persons … marched to honor the new flag … the participants appeared genuinely enthusiastic.”
The Washington Post reported that “Afghan loyalty to the government can scarcely be questioned.” Secular, modernist and, to a considerable degree, socialist, the government declared a program of visionary reforms that included equal rights for women and minorities. Political prisoners were freed and police files publicly burned.
Under the monarchy, life expectancy was 35; 1-in-3 children died in infancy. Ninety percent of the population was illiterate. The new government introduced free medical care. A mass literacy campaign was launched.
For women, the gains had no precedent; by the late 1980s, half the university students were women, and women made up 40 percent of Afghanistan’s doctors, 70 percent of its teachers and 30 percent of its civil servants.