Habibullah was a relatively reform-minded ruler who attempted to modernize his country. During his reign he worked to bring modern medicine and other technology to Afghanistan. Many people who were forced into
exile by his father were returned to Afghanistan by a general amnesty decreed by Habibullah. In 1901, Habibullah passed a law forcing Hindu men to wear yellow turbans and women to wear a yellow veil in public in order to distinguish them from Muslims and to discriminate against. In 1903, Habibullah founded the
Habibia High School, as well as a military academy. He also worked to put in place progressive reforms in his country. He instituted various legal reforms and repealed many of the harshest criminal penalties. One of his chief advisers,
Abdul Latif was sentenced to death in 1903 for
apostasy, being stoned to death in
Kabul. Other reforms included the dismantling of the internal intelligence organization that had been put in place by his father.
Qala-e-Seraj in
Mihtarlam was built by Habibullah in c. 1912–13 to spend his winters.
Khost rebellion In May 1912, Habibullah faced the only crisis in his career when a rebellion, known as the
Khost rebellion, erupted in Khost led by
Jehandad Khan, a rival claimant to the Afghan throne. This rebellion ended in August that same year, when the rebels were given concessions by the Afghan government.
World War I Habibullah maintained the country's neutrality in
World War I, despite strenuous efforts by the
Sultan of the Ottoman Empire and a German military mission (
Niedermayer–Hentig Expedition) to enlist Afghanistan on its side. He also greatly reduced tensions with
British India, signing a treaty of friendship in 1905 and paying an official state visit in 1907. While in India, he was initiated into
Freemasonry, at Lodge Concordia, No. 3102. == Assassination ==