The British forced China to become more open with their economy, the Chinese did not like that. The British sneakily went around China and sold an illegal drug (opium) to Chinese merchants. The Qing dynasty didn't like this, therefore the opium wars began. There was a total of 3 opium wars and China lost pretty badly. After this loss, china was forced to sign an agreement of "unequal treaties"