Soviet–Afghan War had been sympathetic to the PDPA cause, overthrew and executed Daoud along with members of his family. Nur Muhammad Taraki, Secretary General of the PDPA, became President of the Revolutionary Council and Prime Minister of the newly established Democratic Republic of Afghanistan. After the revolution, Taraki assumed the Presidency, Prime Ministership and General Secretaryship of the PDPA. The government was divided along factional lines, with President Taraki and Deputy Prime Minister Hafizullah Amin of the Khalq faction against Parcham leaders such as Babrak Karmal and Mohammad Najibullah. Within the PDPA, conflicts resulted in exiles, purges and executions of Parcham members.
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.