Zhang Yanshang


Zhang Yanshang , né Zhang Baofu, was an official of the Chinese dynasty, serving as a chancellor during the reign of Emperor Dezong.

Background

Zhang Baofu was born in 727, during the reign of Emperor Xuanzong. His family traced its ancestry to the Jin Dynasty official Zhang Hua. His father Zhang Jiazhen had previously been a chancellor under Emperor Xuanzong and continued to serve in prominent positions after his removal in 723. Zhang Jiazhen died in 729, however, when Zhang Baofu was only two years old. Near the end of Emperor Xuanzong's Kaiyuan era, the mayor of Jingzhao Municipality, Han Chaozong, who had previously been recommended by Zhang Jiazhen, stated to Emperor Xuanzong:
Emperor Xuanzong, hearing this, was saddened, and he summoned Zhang Baofu and made him an army officer. Emperor Xuanzong also gave him a new name — Yanshang, meaning "extended favor." It was said that Zhang Yanshang was well-versed in the Confucian classics and histories and he also became known for administrative talent. The official Miao Jinqing, who later served as a chancellor as well, was impressed with his talent and gave him a daughter in marriage.

During Emperor Suzong's reign

During the Anshi Rebellion, Emperor Xuanzong's son and successor Emperor Suzong was, for some time, at Fengxiang, and while there, he made Zhang Yanshang an imperial censor, initially with the rank Jiancha Yushi, then as Dianzhong Shiyushi. Thereafter, the general Wang Sili, who then carried the title of military governor of Guanzhong Circuit, requested to have Zhang serve as his assistant, and when Wang was later made the military governor of Hedong Circuit, Zhang served as the deputy mayor of Taiyuan Municipality under Wang. He was later recalled to Chang'an to serve as a low-level official at the ministry of justice.

During Emperor Daizong's reign

After Emperor Suzong died in 762 and was succeeded by his son Emperor Daizong, the chancellor Yuan Zai became a dominant figure at court. As Yuan had been recommended by Miao Jinqing, he treated Zhang Yanshang, as Miao's son-in-law, with kindness. When Emperor Daizong was forced to flee to Shan Prefecture in 763, at Yuan's recommendation, Emperor Daizong made Zhang an imperial attendant. Soon thereafter, he became deputy chief imperial censor and Zhongshu Sheren, a mid-level official at the legislative bureau of government.
In 767, Zhang was made the mayor of Henan Municipality. During the Anshi Rebellion, Luoyang suffered greatly from the wars, and much of it was in ruins. It was said that Zhang was diligent and hardworking, and he ruled simply. He also reopened the canals and rebuilt the palaces and imperial temples. Within several years, refugees returned, and Luoyang returned to prosperity. Emperor Daizong thus praised him in an edict. In 770, when the office of deputy supreme commander of the Henan, Huaixi, and Shannan Regions was abolished, the troops formerly attached to that office were transferred to Zhang. Subsequently, Zhang was recalled to Chang'an to serve as chief imperial censor. While he was serving in that role, there was an occasion when the junior official Li Shaoliang submitted a number of accusations against Yuan, and Yuan's associates, in turn, accused Li of false accusations and had him arrested and detained at the office of the imperial censors. Zhang disapproved of the action and did not want to be involved, and he was sent to Huainan Circuit to serve as its military governor as well as the prefect of its capital Yang Prefecture. At that time, there was a drought in the circuit, and a large number of the people were trying to depart for other regions. Zhang's subordinates detained them, but Zhang, pointing out that the people should be given the opportunity to survive the drought, allowed them to leave and, in their absence, kept their houses maintained and exempted them from taxes. As a result, many returned thereafter. He later left governmental service when his mother died, to observe a period of mourning for her. After the mourning period was over, he was recalled to serve as the military governor of Jingnan Circuit, as well as the mayor of its capital, Jiangling Municipality.

During Emperor Dezong's reign

Emperor Daizong died in 779 and was succeeded by his son Emperor Dezong. Later that year, Emperor Dezong made Zhang Yanshang the military governor of Xichuan Circuit and the mayor of its capital Chengdu Municipality. During this time, when Xichuan was under attack by Tufan and Nanzhao forces, and imperial forces, commanded by Li Sheng and Qu Huan were in Xichuan to aid Xichuan forces; they were ultimately able to repel Tufan and Nanzhao attacks. In 783, there was a mutiny by his subordinate Zhang Ku, who had been posted in the mountains in the west of Chengdu in defense against Tufan. Zhang Ku attacked Chengdu, forcing Zhang Yanshang to flee to Han Prefecture. It was only after another subordinate of Zhang Yanshang's, Chigan Sui, attacked and killed Zhang Ku, that Zhang Yanshang was able to return to Chengdu. It was said that Zhang followed the law and ruled the circuit leniently, allowing the people of the circuit to recover from the wars that had ravaged the circuit ever since Anshi Rebellion.
At that time, Emperor Dezong was faced with a rebellion by the general Zhu Ci and was forced to flee Chang'an. During the times that he was at Fengtian and then at Liang Prefecture, until he was able to return to Chang'an after Zhu was defeated by the general Li Sheng in fall 784, Emperor Dezong relied on supplies from Xichuan Circuit, and in summer 784, he gave Zhang the honorary chancellor designation of Tong Zhongshu Menxia Pingzhangshi. In 785, when the chancellor Liu Congyi was seriously ill, Emperor Dezong thus recalled Zhang to Chang'an, intending to make him an actual chancellor. Li Sheng, still displeased with Zhang, submitted a petition accusing Zhang of a number of crimes, and Emperor Dezong, not willing to go against Li's wishes, for the time being only made Zhang Zuo Pushe, one of the heads of the executive bureau.
By 786, however, Zhang was beginning to gain the upper hand against Li in their struggle, as Li's son-in-law Zhang Yu, displeased that Li had held a grander ceremony and given more dowry when marrying another daughter to Cui Shu than when marrying Zhang Yu's wife to him, became an associate of Zhang's, as did another subordinate of Li's, Zheng Yunkui. Emperor Dezong also had been suspicious of Li due to his longtime hold on the loyalty of the army, as well as various rumors fostered by Tufan agents that Li was planning treason. Li, hearing that Emperor Dezong was suspecting him, offered to resign his post as military governor of Fengxiang Circuit, in winter 786 when he was Chang'an. Emperor Dezong declined, and instead requested the intervention of the chancellor Han Huang, who was friendly with LI. Han and the general Liu Xuanzuo, the military governor of Xuanwu Circuit, therefore, held a feast for Zhang and Li, hoping to dissolve their enmity. Both agreed, and Li further tried to dissolve Zhang's resentment by endorsing him as chancellor. In spring 787, Emperor Dezong, accordingly, made Zhang a chancellor. However, while Zhang agreed to dissolve his resentment, the resentment persisted, and when Li requested that Zhang give a daughter to one of his sons in marriage, Zhang refused, causing Li to comment:
Later in 787, Zhang, in conflict with his chancellor colleague Qi Ying, who had already offended Emperor Dezong by his honest words, and Zhang opined to Emperor Dezong that Qi did not have the talent to be a chancellor. Emperor Dezong demoted Qi to be a prefectural prefect.
Around the same time, Han died, and both Zhang and the general Ma Sui, who also had a grudge against Li, advocated for peace for Tufan, which Li had opposed. Emperor Dezong, who personally favored an alliance with Tufan against Huige, used Li's opposition against the Tufan alliance to remove Li from his post at Fengxiang. Zhang recommended Zheng, but Emperor Dezong allowed Li to recommend his successor; Li recommended his officer Xing Junya. Emperor Dezong recalled Li to Chang'an to serve as Zhongshu Ling and Taiwei and relieved him of all of his military duties. It was said that once Li returned to Chang'an, despite the suspicions that he was under, he nevertheless spoke honestly whenever he had opinions about the matters of state. In light of Zhang's involvement in Li's command being lifted, subsequently, when Zhang wanted Li Baozhen the military governor of Zhaoyi Circuit, and then Liu, to serve as the new commander of defense forces on the borders with Tufan, both Li Baozhen and Liu declined. Meanwhile, Zhang also drew resentment from other officials when he made major cuts into the ranks of prefectural and county officials — eliminating about 1,000 positions — hoping to use the savings in reduced salaries for military purposes, despite objections from Ma, Wei Lun, and Bai Zhizhen.
By summer 787, Emperor Dezong and Tufan's chancellor Shang Jiezan had negotiated a peace treaty, and the general Hun Jian, as Emperor Dezong's emissary, was set to meet with Shang at Pingliangchuan. Li Sheng, fearing Tufan treachery, instructed Hun to be careful, but Zhang, hearing this, accused Li Sheng of interfering with the peace with Tufan. Emperor Dezong thus instructed Hun to relax, not to aggravate Tufan in any way. On July 8, 787, at the meeting site, Shang laid a trap for Hun and launched a sudden attack, killing and capturing many of Hun's attendants, but Hun escaped. When the news reached Chang'an, Emperor Dezong was so panicked that he considered fleeing Chang'an, but remained due to Li Sheng's advice. As a result of this debacle, Zhang claimed an illness and retired, while Emperor Dezong recalled Ma to the capital and stripped him of his command. Subsequently, the reduction in officer ranks was reversed under the advice of another chancellor, Li Mi.
Meanwhile, Zhang's rivalry with another official — Li Shuming the military governor of Dongchuan Circuit — which formed when they governed neighboring circuits, led Zhang to carry out some additional actions intended to bring down Li Shuming. At that time, Li Shuming's son Li Shēng was repeatedly seen visiting Emperor Dezong's aunt Princess Gao, whose daughter was the wife and crown princess of Emperor Dezong's son and crown prince Li Song. He informed this to Emperor Dezong, intimating that Li Shēng was having an affair with Princess Gao. When Emperor Dezong asked Li Mi to investigate this, however, Li Mi correctly guessed that it was Zhang who informed Emperor Dezong of this and suggested no investigation, pointing out that Zhang's accusations also appeared to be intended to endanger Li Song. Emperor Dezong agreed, and thereafter moved Li Shēng to the position of head of Li Song's household, away from Princess Gao.
Zhang died in winter 787 and was given posthumous honors. He was also given the posthumous name of Chengsu. His son Zhang Hongjing later served as a chancellor during the reign of Emperor Dezong's grandson Emperor Xianzong.
Ouyang Xiu, the lead editor of the New Book of Tang, commented thus about Zhang: