the xinhai revolution was a revolution in china in 1911. it consisted of many revolts and rebellions. at the end of the xinhai revolution the last emperor, puyi, abdicated. china changed from a monarchy to a republic.