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.
Assadullah Sarwari Asadullah Amin in October 1979. In September 1979 Sarwari was involved in a pro-Nur Muhammad Taraki plot to oust Prime Minister Hafizullah Amin. After the failure of the plot, he and his comrades (the 'Gang of Four') escaped to the Soviet Embassy, where he was given asylum until the Soviet invasion and the fall of Amin in December 1979. After the invasion, under the government of Babrak Karmal, Sarwari was first given the task of deputy prime minister, but he was soon removed from the government and posted as ambassador to Mongolia from 1980 to 1986. In January 1980, Sarwari