Sultan Ali Keshtmand torture and long imprisonment. He remained in prison and was sentenced to death, but this decision was revoked and he was resentenced to 15 years in prison. On December 1979, the Soviet Union invaded Afghanistan, bringing Babrak Karmal and the Parcham faction to power. Keshtmand was released from jail, and was once again joined the Politburo. Friction among the People's Party members rose in 1980 when Karmal removed Assadullah Sarwari from his position as First Deputy Chairman of the Council of Ministers and replaced him with Sultan Ali Keshtmand. Keshtmand, a Parchami, soon became one of the most important leaders
Babrak Karmal Karmal's succession; a GRU report noted that the majority of the PDPA leadership would support Assadullah Sarwari's ascension to leadership. According to the GRU, Sarwari was a better candidate as he could balance between the Pashtuns, Tajiks and Uzbeks; Najibullah was a Pashtun nationalist. Another viable candidate was Abdul Qadir, who had been a participant in the Saur Revolution. Najibullah was appointed to the PDPA Secretariat in November 1985. During Karmal's March 1986 visit to the Soviet Union, the Soviets tried to persuade Karmal that he was too ill to govern, and that he should resign. This backfired, as a