Lin confiscated the stocks of opium without compensation in 1839, leading Britain to send a military expedition the following year.