 In 1917 President Li Yuanhong assigned Fan Yaonan () to observe Yang and, if possible, replace him.Yang always recognized whichever faction was in power in the Beiyang government to avoid trouble.His rule kept the region relatively peaceful, compared to other parts of China which were war-torn.