Kabul modernized throughout the regime of King Habibullah Khan, with the introduction of electricity, telephone, and a postal service. The first modern high school, Habibia, was established in 1903. In 1919, after the Third Anglo-Afghan War, King Amanullah Khan announced Afghanistan's independence in foreign affairs at Eidgah Mosque in Kabul. Amanullah was reform-minded and he had a plan to build a new capital city on land about 6 km away from Kabul. This area was named Darulaman and it consisted of the famous Darul Aman Palace, where he later resided. Many educational institutions were founded in Kabul during the 1920s. In 1929 King Ammanullah left Kabul due to a local uprising orchestrated by Habibullah Kalakani, but he himself was imprisoned and executed after nine months in power by King Nader Khan. Three years later, in 1933, the new king was assassinated during an award ceremony inside a school in Kabul. The throne was left to his 19-year-old son, Zahir Shah, who became the last King of Afghanistan. Unlike Amanullah Khan, Nader Khan and Zahir Shah had no plans to create a new capital city, and thus Kabul remained the country's seat of government.