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 put under government surveillance. To mitigate Daoud's suddenly anti-communist directives, the Soviet Union reestablished the PDPA; Taraki was elected its General Secretary and Karmal, Second Secretary. While the Saur Revolution (literally the April Revolution) was planned for August, the assassination of Khyber led to a chain of events which ended with the communists seizing power. Karmal, when taking power in 1979, accused Amin of ordering the assassination of Khyber. Taraki was appointed Chairman of the Presidium of the Revolutionary Council and Chairman of the Council of Ministers, retaining his post as PDPA general secretary. Taraki initially formed a government which