I want to know the answer to the following question:
What year was the Opium war?
All the background I'm provided with is that "After the Opium War in 1842, Xiamen (Amoy) became one of the major treaty ports to be opened for trade with the outside world.". Is that enough to answer the question?