When was the Qing dynasty in power