The Treaty of Nanjing (also called Treaty of Nanking) signed in 1842 was the first Unequal treaty, meaning that it was the first treaty in which China had a great loss. The treaty was signed by the Chinese in order to end the First Opium War. The treaty stated several things. It stated that first, Hong Kong shall be given to the British on a 99-year lease. The treaty stated that the ports of Xiamen, Guangzhou, Fuzhou, Ningbo, and Shanghai should be opened to foreign trade. The treaty also stated that the Chinese should pay 21 million dollars to Britain for all the opium destroyed during the First Opium War. The payment was not given all at once. Only 6 million was given all at once. Another three million had to be given on or before June 30 1843. China should pay three million on or before December 31 1843. The same pattern went for 1844 and 1845.
