was aborted in 1881. On the death of the Tongzhi Emperor in 1875, Li introduced a large army into the capital and effected a coup which placed the Guangxu Emperor on the throne under the regency of the Empress Dowagers Ci'an and Cixi. In 1879, Li was awarded the honorary appointment Crown Prince's Grand Tutor (). In 1886, on the conclusion of the Sino-French War, Li arranged a treaty with the French. Li was impressed with the necessity of strengthening the Qing Empire, and while he was Viceroy of Zhili, he raised a large well-drilled and well-armed force, and spent vast sums both in fortifying Port Arthur and the Dagu forts and in strengthening the navy. For years, he had watched the successful reforms effected in Japan and had a well-founded dread of coming into conflict with the Japanese. Establishing military academies In 1885, Li founded the Tianjin Military Academy () to train Chinese military officers as part of his military reforms. The move was supported by Huai Army commander Zhou Shengchuan. The academy was to serve Huai Army and Green Standard Army officers. Various practical military, mathematics and science subjects were taught at the academy. The instructors were German military officers. Another programme was started at the academy for five years in 1887 to train teenagers as new military officers. Mathematics, practical and technical subjects, sciences, foreign languages, Chinese classics and history were taught at the school. Students also took exams. The Weihaiwei and Shanhaiguan military schools copied the Tianjin Military Academy's curriculum. The maritime defence fund supplied the budget for the Tianjin Military Academy, which was shared with the Tianjin Naval Academy. First Sino-Japanese War Because of his prominent role in Chinese diplomacy in Korea and strong political connections in Manchuria, Li found himself directing Chinese forces during the First Sino-Japanese War of 1894–1895. In fact, it was mostly the armies that he established and controlled that did the fighting, whereas other Chinese troops led by his political rivals did not come to their aid. Rampant corruption further weakened the Chinese military. For instance, one official misappropriated ammunition funds for personal use. As a result, shells ran out during battle, forcing one navy captain, Deng Shichang, to resort to ordering his ship to ram an enemy ship. The defeat of Li's modernised armed forces by the Japanese undermined his political standing, as well as the wider cause of