The Treaty of Nanking (Nanjing) ended the first Opium War on August 29th 1842.
During the second Opium War the Treaties of Tianjin and Aigun ended the first part but shortly after the war continued because the Xianfeng Emperor was persuaded to resist the West by his ministers. The June 1858 Treaty of Tianjin was finally ratified in October 1860.
what were the five treaty posts