総理各国事務衙門
The British and French burning of the Old Summer Palace in 1860 as Taiping rebel armies marched north, forced the imperial court to acknowledge the crisis. Prince Gong was made regent, Grand Councilor, and head of the newly formed Zongli Yamen (a "de facto" foreign affairs ministry). Local Han Chinese officials such as Zeng Guofan established private Westernized militias in prosecuting the war against the rebels. Zeng and his armies eventually defeated the rebels and prosecuted efforts to import Western military technology and to translate Western scientific knowledge. They established successful arsenals, schools, and munitions factories.