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 campaign for Karmal's dismissal, but Andrei Gromyko discussed the possibility of Karmal's resignation with Javier Pérez de Cuéllar, the Secretary-General of the United Nations in 1982. While it was Gorbachev who would dismiss Karmal, there may have been a consensus within the Soviet leadership in 1983 that Karmal should resign. Gorbachev's own plan was to replace Karmal with Mohammad Najibullah, who had joined the PDPA at its creation. Najibullah was thought highly of by Yuri Andropov, Boris Ponomarev and Dmitriy Ustinov, and negotiations for his succession may have started in 1983. Najibullah was not the Soviet leadership's only choice for