The 1975 rebellion though unsuccessful, had shaken Daoud Khan to the core and made him realize that a friendly Pakistan was in his best interest. Pakistani Pashtuns were also not interested in having their areas being annexed by Afghanistan. As a result, Daoud started improving his country's relations with Pakistan and made two state visit to Pakistan in 1976 and 1978. During his 1978 visit to Pakistan, Daoud Khan agreed to stop supporting anti-Pakistan militants and to expel any remaining militant in Afghanistan. In 1975, Daoud Khan, established his own party named National Revolutionary Party of Afghanistan and outlawed all other parties like Parcham and Khalq. He then started removing members of the Parcham party from the government positions, including the ones who had supported his coup, and started replacing them with familiar faces from Kabul's traditional government elites. Daoud also started lowering his dependence on Soviet Union. As a consequence of Daoud's actions, Afghanistan's relations with Soviet Union deteriorated. Following the death of one of the leaders of Parcham faction, Mir Akbar Khyber, Saur Revolution took place and Daoud Khan was removed from power by Afghan armed forces and killed. Daoud Khan was replaced by Nur Muhammad Taraki.