Emir Amanullah Khan was keen on modernizing Afghanistan, provoking several uprisings led by his conservative opponents. One such rebellion broke out while he was visiting Europe in 1927. He abdicated in favour of his brother
Inayatullah Khan, who only ruled for three days before the leader of the rebellion
Habibullāh Kalakāni took power and
reinstated the Emirate. After ten months, Amanullah Khan's minister of war, Mohammad Nadir, returned from exile in India. His armies ousted the
Saqqawist government and sacked Kabul. Afterwards, Nadir's forces apprehended and subsequently executed Kalakāni. Mohammed Nadir reinstated the kingdom, was proclaimed
King of Afghanistan as
Mohammad Nadir Shah in October 1929, and went on to revert the reformist path of the last king, Amanullah Khan. He was succeeded by his son,
Mohammad Zahir Shah, whose rule started in 1933 and lasted for 39 years. Zahir Shah, the last King of Afghanistan, was eventually overthrown by his own cousin
Mohammad Daoud Khan who successfully
ended the centuries-old monarchy and established a
republic. It was under the leadership of Zahir Shah that the
Afghan government sought relationships with the outside world, most notably with the
Soviet Union, France, the United Kingdom and the United States. Under Zahir Shah, the government initiated numerous concerted efforts to bring education to
Darai Nur, majority of the valley being inhabited by the
Pashayi people. Because villagers were suspicious of the literacy campaign, wealthier inhabitants in the valley bribed officials and the
Royal Afghan Army to keep their sons out of school. Poorer villagers, on the other hand were far more likely to attend, encouraging the view that the school program was not 'un-Islamic' nor 'anti-Islamic', leading more villagers to send their sons to school. On 27 September 1934, during the reign of Zahir Shah, the Kingdom of Afghanistan joined the
League of Nations. During
World War II, Afghanistan remained neutral and pursued a diplomatic policy of non-alignment. Though being neutral in World War II, Afghanistan had relations with
Nazi Germany, but that was severed after the
Anglo-Soviet invasion of Iran. In 1947, Afghanistan was the only United Nations member to vote against admitting
Pakistan into the United Nations. Afghanistan also became a member of the
Non-Aligned Movement in 1961. Daoud Khan,
Prime Minister of Afghanistan at the time, worked hard for the development of
modern industries, and
education in the country. In July 1973, Daoud Khan staged a bloodless
coup d'état while Zahir Shah was abroad convalescing from medical treatment. The next month, Zahir Shah abdicated, hoping to avoid a civil war, which officially marked the end of the Kingdom of Afghanistan and the beginning of the Republic. == Geography ==