While serving as the governor of Nanjing in 1894, Zhang invited a German training regiment of 12 officers and 24 warrant officers to train the local garrison into a modern military force.
In Wuchang, Zhang effectively trained and equipped modern units of sappers, engineers, cavalry, police, artillery and infantry.