Question: What year was the Opium war?
Sentence: After the Opium War in 1842, Xiamen (Amoy) became one of the major treaty ports to be opened for trade with the outside world.
Answer in sentence: yes