What were the last days of the Qing dynasty marked by