南京条约
In 1842, the Daoguang Emperor entrusted Keying to conclude a peace treaty with the Britain following the First Opium War, and he was chiefly responsible for negotiating and signing the Treaty of Nanking. The following year, he signed the Treaty of the Bogue to supplement the Treaty of Nanking. He also concluded the Treaty of Wanghia (1844) with the United States, the Treaty of Whampoa (1844) with France, and the Treaty of Canton (1847) with Sweden-Norway. This is the first group of what the Chinese later called the "unequal treaties". In November 1845, Keying was well received in Hong Kong.