How did the last Chinese dynasty end?

It ended when The Xin Hai revolution succeeded and overthrown the Qing Dynasty.