Naqib also was a commander during the resistance to the Soviet occupation in the 1980s .