Once the treaty of Nanjing was signed and China agreed to create a "fair and reasonable" tariff, allow Britain to trade at five ports and surrender the territory of Hong Kong. Explanation: This treaty has officially ended the war on opium and there were numerous effects on the Chinese as a part of the Agreement.