In 1912 Provisional President Sun Yat-sen handed over power to Yuan Shikai, an ex-Qing general who possessed the military capability to crush Sun's revolution. Yuan then worked against the development of democracy in China, and after this became unacceptable, Sun Yat-sen pushed for anti-Yuan military units to overthrow him, an effort that was defeated in a three-month civil war. Sun was discredited as a politician. Yuan then moved to establish complete control of the Chinese military and government, culminating in him declaring himself emperor. Because he had not secured total military control, a rebellion with no connection to Sun Yat-sen broke out in the south (most of whose commanders had fought on Yuan's side in the second revolution), which Yuan was unable to suppress, and under immense pressure from his generals he restored the republic. He then died, and his army broke up. His successors attempted to regain the level of power Yuan had held, but in doing so Duan Qirui violated the constitution, which Sun seized upon to set up a rival governmnent in the south. Sun didn't have much support from either the populace or the warlords who propped up his government because they hated Duan Qirui, and it took him many failed attempts, and abandoning his democratic convictions to become a Lenin-style military dictator and allying with the Soviet Union, to establish a secure base area. He then died of cancer.Oh; because his death is inevitable I'm pretty sure. When was the point where he handed the presidency and had to retreat while the new president delcared himself emperor?