Emperor Xizong of Tang
Under Emperor Xizong of Tang (r.873–888) the Shence Army was totally routed during the Huang Chao Rebellion Whilst the emperor fled to the Xichuan Circuit (西川路) headquartered in modern-day Chengdu, Sichuan Province, eunuch Tian Lingzi raised a new Shence Army. The unit was finally disbanded in 903 CE when Zhu Wen, founder of the Later Liang murdered all the palace eunuchs in Chang’an.