After Britain’s destruction of the Chinese fleet, invading forces temporarily occupied Canton and Shanghai. In 1842, what the Chinese called the “unequal” Treaty of Nanjing was signed, forcing the Chinese to cede Hong Kong island to Britain in perpetuity (it was returned in 1997) and to open five “treaty ports” to European trade.