临洮县
During the An Shi Rebellion (755–763), General Wei Boyu (卫伯玉/衛伯玉) and 1,000 of his Shence troops were dispatched to assist the embattled central authorities. Thereafter Wei Boyu defended the area around Sanmenxia where troops from Tufan had already occupied Lintao County. At the same time Yu Chao'en was appointed Army Censor (监军/監軍) by the imperial court and later commanded the Shence Army. In 763 CE Tubo attacked Chang'an whereupon Emperor Daizong of Tang fled to Sanmenxia. Yu Chao’en’s army and the Sanmenxia armies combined and were collectively referred to as the Shence Army. When Daizong later returned to the capital, the Shence Army became one of the imperial guard units and gradually increased in strength.