For years, China had enjoyed a favorable balance of trade with foreign nations. But the British trade of Opium with China disrupted the economy in the early 1800s and led to wars between the two nations.
The illegal trade of Opium that Britain was having with China caused a deep disruption of society and economy, leading to the First and Second Opium Wars.