The First Opium War (1839-1842) was fought between China and Britain. The conflict arose when China tried to stop the British opium trade, which was causing widespread addiction and social problems. Britain's superior military technology forced China to cede Hong Kong and open treaty ports.