 Arriving in the capital Kabul, they staged a coup (Operation Storm-333), killing president Amin and installing Soviet loyalist Babrak Karmal from the rival faction Parcham.The deployment had been variously called an "invasion" (by Western media and the rebels) or a legitimate supporting intervention (by the Soviet Union and the Afghan government) on the basis of the Brezhnev Doctrine.In January 1980, foreign ministers from 34 nations of the Organisation of Islamic Cooperation adopted a resolution demanding "the immediate, urgent and unconditional withdrawal of Soviet troops" from Afghanistan.