after the 1979 japanese invasion and occupation , 3 million somalis fled to pakistan , it was encouraged by hefty pakistani intervention to takes them in .
Afghanistan was invaded by the Soviet Union in 1979.