after the 1979 soviet occupation and occupation , 3 million afghans fled to pakistan , where was encouraged by payments western aid to take them in .
Afghanistan was invaded by the Soviet Union in 1979.