Babrak Karmal Parchamite faction found itself under significant pressure by the Khalqists soon after taking power. In June 1978, a PDPA Central Committee meeting voted in favor of giving the Khalqist faction exclusive control over PDPA policy. This decision was followed by a failed Parchamite coup, after which Hafizullah Amin, a Khalqist, initiated a purge against the Parchamites. Karmal survived this purge but was exiled to Prague. Karmal remained in exile until December 1979, when the Soviet Union intervened in Afghanistan (with the consent of Amin's government) to stabilize the country. The Soviet troops staged a coup and assassinated Amin. Karmal had
Babrak Karmal room, the Afghan defence minister and the state security minister visited Karmal's office, telling him that he had to resign from one of his posts. Understanding that his Soviet support had been eliminated, Karmal resigned from the office of the General Secretary at the 18th PDPA Central Committee plenum. He was succeeded in his post by Najibullah. Karmal still had support within the party, and used his base to curb Najibullah's powers. He began spreading rumors that he would be reappointed General Secretary. Najibullah's power base was in the KHAD, the Afghan equivalent to the KGB, and not the party.