A rebel took Beijing and the last Ming Emperor committed suicide. A Ming loyalist general invited the Manchus into China to aid the Ming heir but instead they proceeded to conquer the country in what some think produced more casualties than any previous war. The Qing Dynasty promoted culture and the economy flourished until the Europeans arrived with their Industrial Revolution and opium.