After thousands of years, the dynastic system came to an end in China in 1912 with the abdication of Emperor Puyi at the age of six. Survey the many problems faced by the Qing dynasty in the 19th century—including the Opium Wars, peasant uprisings and rebellions, and the expanding European empires.