In September 1860, during the Second Opium War, as the Anglo-French forces closed in on the capital Beijing, the Xianfeng Emperor ordered Zaiyuan and Muyin (穆廕) to negotiate for peace at Tongzhou with the enemy.