The Opium War ended with China and Britain signing the Treaty of Nanjing, ceding Hong Kong to Britain and opening ports to trade.
The two nations that signed a treaty to end the Opium War were China and Britain. The Treaty of Nanjing in 1842 marked the end of the First Opium War and forced China to cede Hong Kong to Britain, open ports to trade, and sign unequal treaties, greatly impacting China's sovereignty.
https://brainly.com/question/40196520