總理各國事務衙門
Following the Boxer rebellion, the Qing government was forced to change its foreign service. According to Article XII in the Boxer Protocol 1901, the Zongli Yamen was replaced with a Foreign Office, known at the time as the "Waiwubu" (), which ranked above the other six boards in the government; "as the course of subsequent events made clear, the Waiwubu was as ineffective in the establishment of good relations between China and the outside world as the Zongli Yamen had been."