What was the opium rebellion?

The Chinese government became upset with the British government importing opium into China, around 1840.