The Opium Wars, spanning from 1839 to 1860, were a pivotal series of conflicts between China and Western powers, primarily Britain.