soon put down by Hedong soldiers under the command of the eunuch monitor of the army, Lü Yizhong ().) After Liu Zhen was defeated, Emperor Wuzong again urged Zhang to wipe out the Huigu remnants, and apparently, Zhang repeatedly prevailed, causing Wujie Khan to flee further. As a result, Zhang requested that a monument be erected to commemorate the victories over the Huigu. Emperor Wuzong agreed, and had Li Deyu author the text. In 845, Emperor Wuzong, a devout Taoist, ordered a general suppression of Buddhism and several other religions. Many Mount Wutai Buddhist monks fled to You Prefecture. Li Deyu, who encouraged Emperor Wuzong to suppress Buddhism, summoned Zhang's emissary at Chang'an and informed him that it would merely damage his relationship with the imperial government if he accepted the Mount Wutai monks. In response, Zhang sent two swords to his commander at Juyong Pass, ordering the commander to behead every monk who came through the pass. In 847, by which time Emperor Wuzong had died and been succeeded by his uncle Emperor Xuānzong, Zhang was given the honorary chancellor title of Tong Zhongshu Menxia Pingzhangshi () to reward him for his victories over the Huigu. Later in the year, he had a great victory over the Xi. By that point, Wujie Khan's brother and successor E'nian Khan had been dependent on the Xi chieftain Shi Shelang () for support, and after Zhang's victory over the Xi he could no longer do so, and so was forced to flee further to the Shiwei. In 848, apparently to try to appease Tang, E'nian Khan sent an emissary to pay homage to Emperor Xuānzong. When the emissary was returning to E'nian Khan through You Prefecture, however, Zhang ordered him to kill E'nian Khan once he arrived back at E'nian Khan's headquarters. When E'nian Khan heard this, he fled, leaving his people with the Shiwei. In 849, Zhang died. Emperor Xuānzong allowed his son Zhang Zhifang to inherit his position, and gave him posthumous honors. Notes and references Old Book of Tang, vol. 180 New Book of Tang, vol. 212. Zizhi Tongjian, vols. 246, 247, 248. 8th-century births 849 deaths Tang dynasty generals from Beijing Tang dynasty jiedushi of Lulong Circuit Tang dynasty politicians from Beijing