安直戦争
While Li Yuanhong replaced Yuan Shikai as the President after his death, the political power was in the hands of Premier Duan Qirui. The government worked closely with the Zhili clique, led by Vice President Feng Guozhang, to maintain stability in the capital. Continuing military influence over the Beiyang government led to provinces around the country refusing to declare their allegiance. The debate between the President and the Premier on whether or not China should participate in the First World War was followed by political unrest in Beijing. Both Li and Duan asked Beiyang general Zhang Xun, stationed in Anhui, to militarily intervene in Beijing. As Zhang marched into Beijing on 1 July, he quickly dissolved the parliament and proclaimed a Manchu Restoration. The new government quickly fell to Duan after he returned to Beijing with reinforcements from Tianjin. As another government formed in Beijing, Duan's fundamental disagreements over national issues with the new President Feng Guozhang led to Duan's resignation in 1918. The Zhili clique forged an alliance with the Fengtian clique, led by Zhang Zuolin, and defeated Duan in the critical Zhili–Anhui War in July 1920.