The First Opium War was fought from 1839 to 1842 between China and the United Kingdom and the Second Opium War (also known as the Arrow War or the Anglo-French War in China) was fought by Britain and France against China from 1856 to 1860.