capital. On 11 June 1898, the Guangxu Emperor, as part of the Hundred Days' Reform, authorised the creation of the Imperial University of Peking (). The Imperial University was formally established on 3 July 1898 when the emperor approved the royal charter written by Liang. Minister Sun Jianai was charged with the implementation. IUP served as the country's foremost institute for higher learning, but also as its highest educational authority. William Alexander Parsons Martin was appointed as the first president. Most of the reforms were abolished when the conservative Empress Dowager Cixi seized power on 21 September. The university survived with altered objectives and reduced scope. It opened on 31 December with 160 students, instead of the planned 500. In 1900, the university was paralyzed by the Boxer Rebellion, later in the year, the "Eight-Power Allied Forces" (八国联军) entered Beijing and the university's operation was continually suspended. In 1902, "Jingshi Tongwenguan", a school established by the Qing court in 1862 for foreign language learning was incorporated into the Imperial University of Peking. In 1904, the university sent 47 students to study abroad, which marked the first time for Chinese higher education institution to send students to foreign countries. Following the Xinhai Revolution, the Imperial University of Peking was renamed "Government University of Peking" in 1912 and then "National University of Peking" in 1919 (). Early Republic of China period (1916–1927) The noted scholar Cai Yuanpei was appointed president on January 4, 1917, and helped transform Peking University into the country's largest institution of higher learning, with 14 departments and an enrollment of more than 2,000 students. President Cai, inspired by the German model of academic freedom, introduced faculty governance and democratic management to the university. Cai recruited an intellectually diverse faculty that included some of the most prominent figures in the progressive New Culture Movement, including Hu Shih, Liu Bannong, Ma Yinchu, Li Dazhao, Chen Duxiu, Lu Xun and Liang Shuming. Meanwhile, leading conservatives Gu Hongming and Huang Kan also taught at the university. A firm supporter for freedom of thought, Cai advocated for educational independence and resigned several times protesting the government's policy and interference. On May 1, 1919, some students of Peking University learned that the Treaty of Versailles would allow Japan to receive Germany's colonising rights in Shandong province. An assembly at Peking University that included these students and representatives from other universities in Beijing was quickly