After Yuan's death, Li Yuanhong became president and Duan Qirui, the prime minister, and the National Assembly was reconvened. The government soon faced a crisis over whether to enter World War I on the side of the Allied Powers or remain neutral. Li dismissed Duan, who favored entry into the war, and invited warlord Zhang Xun to the capital to mediate. Zhang and his pigtailed loyalist army marched into Beijing, dissolved the National Assembly and restored Puyi as Qing emperor on July 1. Li fled to the Japanese Embassy in the Legation. The imperial restoration lasted just 12 days as Duan Qirui's army reclaimed the capital, and sent Zhang seeking refuge in the Dutch Embassy. Under Duan's command, China declared war on the Central Powers and sent 140,000 Chinese laborers to work on the Western Front. With financial backing from Japan, Duan then engineered the election of a new parliament in 1918 that was stacked his supporters from the Anhui clique. The so-called Anfu Parliament was named after Anfu Hutong, near Zhongnanhai where Duan's Anhui-based supporters congregated.