Viceroy of Zhili
Zhang became involved in the First Sino-Japanese War, although not on the frontline. He initially advocated foreign aid from European forces near Tianjin in fighting the Japanese. In October 1894, he telegraphed Li Hongzhang, the Viceroy of Zhili, proposing the purchase of naval equipment, and loans from foreign banks. He further advocated this, and in addition the purchase of arms, alliance with European powers, and the "clear division of rewards and punishments" for troops, once the Japanese crossed the Yalu River into China in late October, threatening the northeastern provinces. In early 1895, the Japanese had begun an assault on Shandong, and Zhang telegraphed the governor Li Bingheng in an emergency that suggested fast civil recruitments, the building of strong forts, and the use of landmines, to prevent further Japanese advance. He had also sent arms and munitions to aid the campaign.