The Opium Wars were two wars between China and Western countries during the Qing dynasty. The first was between Great Britain and China and lasted from 1839 until 1842. The second was from 1856 to 1860 and involved France as well.