Ma Haiyan, and Ma Julung. There were also armies composed of Chinese Muslims led by Muslim Generals like Dong Fuxiang, Ma Anliang, Ma Fuxiang, and Ma Fuxing who commanded the Kansu Braves. Local officials could also take command of military affairs, such as the father of Yang Zengxin during the Panthay Rebellion. The "First Chinese Regiment" (Weihaiwei Regiment) which was praised for its performance, consisted of Chinese collaborators serving in the British military. Modernization The Beiyang Army was the army of northern China. In 1885 Li Hongzhang founded the Tianjin Military Academy (天津武備學堂) for Chinese army officers, with German advisers, as part of his military reforms. The move was supported by Anhui Army commander Zhou Shengchuan. The academy was to serve Anhui Army and Green Standard Army officers. Various practical military, mathematics and science subjects were taught at the academy. The instructors were German officers. Another program was started at the academy for five years in 1887 to train teenagers as new army officers. Mathematics, practical and technical subjects, sciences, foreign languages, Chinese Classics and history were taught at the school. Exams were administered to students. The instruction for Tianjin Military Academy was copied at the Weihaiwei and Shanhaiguan military schools. The 'maritime defense fund' supplied the budget for the Tianjin Military Academy, which was shared with the Tianjin Naval Academy. The Tianjin Military Academy in 1886 adopted as part of its curriculum the Romance of the Three Kingdoms. Among its alumni were Wang Yingkai and Duan Qirui (段祺瑞). Among its staff was Yinchang. The Qing founded Baoding Military Academy. China began to extensively modernize its military in the late 19th century. It purchased the most modern Krupp artillery and Mauser repeater magazine rifles from Germany, in addition to mines and torpedoes. It used these with sniper, pincer, and ambush tactics, and China also began to reorganize its military, adding engineer companies and artillery brigades. Mining, engineering, flooding, and simultaneous multiple attacks were employed by Chinese troops along with modern artillery. By 1882, the Qing navy had some fifty steam warships, half of them built in China. The American Commodore Robert Shufeldt, reported that the British-built Chinese ships he inspected had "every modern appliance," including "guns with large calibre and high velocity, moved by hydraulic power, machine guns, electric lights, torpedoes and torpedo boats, engines with twin screws, steel rams, etc. etc." Yet, Shufeldt concludes, in order to be really