The internal and external pressures the Q'ing rulers experienced were caused by the increasing contact and the imbalance of trade with European nations. By the 19th century there was a great demand for Chinese tea, silks, glass, however China had little interest in European goods. Then came opium, a goods that could be bought cheap from China and make Europe rich. Over time the external demand for opium increased as China's internal desire to end the opium trade clashed. This clash led to the Opium Wars with Great Britain and ended with the Nanking and Tientsin treaties. The treaties sought only to economically benefit Europe and later the United States. As a result, the Chinese were increasingly resentful of foreigners. This resentment prompted internal nationalistic movements such as the Boxer Rebellion (1900) to combat western influence. Unfortunately, they were short lived due to foreign military strength in China. The Q'ing dynasty ended in 1912.