The Pashtuns of Afghanistan attained complete independence from British political intervention during the reign of Amanullah Khan, following the Third Anglo-Afghan War. By the 1950s a popular call for Pashtunistan began to be heard in Afghanistan and the new state of Pakistan. This led to bad relations between the two nations. The Afghan monarchy ended when President Daoud Khan seized control of Afghanistan from his cousin Zahir Shah in 1973, which opened doors for a proxy war by neighbors and the rise of Marxism. In April 1978, Daoud Khan was assassinated along with his family and relatives. Mujahideen commanders began being recruited in neighboring Pakistan for a guerrilla warfare against the Democratic Republic of Afghanistan - the Marxist government was also dominated by Pashtun Khalqists. In 1979, the Soviet Union invaded its southern neighbor Afghanistan in order to defeat a rising insurgency. The mujahideen were funded by the United States, Saudi Arabia, China and others, and included some Pashtun commanders such as Gulbuddin Hekmatyar and Jalaluddin Haqqani. In the meantime, millions of Pashtuns fled their native land to live among other Afghan diaspora in Pakistan and Iran, and from there tens of thousands proceeded to North America, the European Union, the Middle East, Australia and other parts of the world.