After Yuan's death, there was an effort by Li Yuanhong to revive the Republic by recalling the legislators who had been ejected in 1913, but this effort was confused and ineffective in asserting central control. Li lacked any support from the military. There was a short-lived effort in 1917 to revive the Qing dynasty led by the loyalist general Zhang Xun, but his forces were defeated by rival warlords later that year.