Biography
Entering the Hanlin Academy in His Twenties and Cultivating the Eastern Palace
Wei Zhiyi was born into the Longmen Duke branch of the Wei clan of Wannian County, Jingzhao Prefecture (present-day Chang'an District area, Xi'an City, Shaanxi Province), one of the foremost aristocratic lineages of Guanzhong, descending from the Western Han chancellors Wei Xian and his son Wei Xuancheng; his great-great-grandfather Wei Chongde rose to Moral Mentor to the Crown Prince, and his father Wei Mei served as Prefect of Ba Prefecture. Exceptionally intelligent and quick-witted from childhood, Wei Zhiyi passed the jinshi examination in his youth and subsequently sat for the special decree examination, placing in the highest grade and receiving an exceptional appointment as Reminder of the Right. When he was little more than twenty years old, he was summoned into the inner-court Hanlin Academy to serve as a Hanlin Academician. Fond of literature, Emperor Dezong of Tang (Li Kuo) deeply favored the clever and eloquent Wei Zhiyi, frequently exchanging poems with him in the palace and ordering him to enter and leave the forbidden precincts alongside Pei Yanling and Wei Qumou as an advisor. While serving as a Hanlin Academician, Wei Zhiyi once accepted bribes to seek examination degrees and official posts from his paternal first cousin once removed Wei Xiaqing, then Vice Minister of Personnel, even reaching into his robe to slip gold into Wei Xiaqing's sleeve—only to be sternly rebuked by Wei Xiaqing, who swept his sleeve and walked away, leaving Wei Zhiyi deeply ashamed. Soon afterward he left office to observe mourning for his mother, and upon completing the mourning period was recalled as a bureau director in the Southern Palace (Department of State Affairs), rising successively to Director of the Bureau of Appointments in the Ministry of Personnel.
At the end of the Zhenyuan era, Hanlin Attendant-in-Waiting Wang Shuwen won the deep reliance of Crown Prince Li Song (later Emperor Shunzong of Tang) through his skill at chess and political discussions, secretly recruiting a group of ambitious young talents eager for reform, including Liu Zongyuan, Liu Yuxi, Han Tai, Han Ye, Chen Jian, Ling Zhun, and Cheng Yi. Once, on Emperor Dezong's birthday, Crown Prince Li Song presented a Buddha statue in celebration; Dezong ordered Wei Zhiyi to compose a eulogy for the Buddha statue and instructed the Crown Prince to reward him generously with silk fabrics. When Wei Zhiyi went to the Eastern Palace to express his thanks, he heard Li Song speak of Wang Shuwen in the highest terms, whereupon he actively formed a wholehearted friendship with Wang Shuwen, becoming the highest-ranking and most prestigious court official within the Wang Shuwen group. In the nineteenth year of the Zhenyuan era (803), Left Rectifier of Omissions Zhang Zhengyi submitted a memorial on state affairs and was granted an audience by Emperor Dezong, after which his friends Wang Zhongshu, Wei Chengji, Liu Bochu, Pei Chai, Chang Zhongru, and Lü Dong went to Zhang's residence to congratulate him. Rumors circulated at the time that Zhang Zhengyi and his friends intended to impeach Wei Zhiyi and Wang Shuwen for factionalism; believing the rumors, Wei Zhiyi struck first by submitting a secret memorial to Dezong accusing Zhang Zhengyi, Wei Chengji, and the others of forming a cabal and holding frequent banquets. After Dezong ordered the Jinwu Guard to investigate and confirmed their gatherings, Zhang Zhengyi, Wei Chengji, and their associates were all demoted and banished from the capital.
Assuming the Chancellorship and the Yongzhen Reform
In the first month of the twenty-first year of the Zhenyuan era (805), Emperor Dezong passed away, and Crown Prince Li Song, who was already suffering from a severe stroke that left him unable to speak, ascended the throne as Emperor Shunzong of Tang. Because Shunzong could not personally issue commands, court governance operated through a unique five-stage transmission mechanism: Shunzong's intentions were first conveyed by his favored attendant Consort Niu (Niu Zhaorong) to the eunuch Li Zhongyan, by Li Zhongyan to Hanlin Attendant-in-Waiting Wang Pi, by Wang Pi to Wang Shuwen in the Hanlin Academy, and finally handed by Wang Shuwen to Chancellor Wei Zhiyi in the Secretariat to be drafted into imperial edicts and promulgated. On Day Xinyou of the second month of that year, with Wang Shuwen's full backing, Wei Zhiyi—then Gentleman for Court Discussion, Director of the Bureau of Appointments in the Ministry of Personnel, and Commandant of Cavalry—was formally promoted to Left Vice Director of the Department of State Affairs and Jointly Manager of Affairs with the Secretariat and Chancellery, bestowed a purple robe and gold fish tally, and made Chancellor; in the third month he was reassigned as Vice Director of the Secretariat and Jointly Manager of Affairs, presiding over the outer-court Secretariat and submitting a memorial requesting that Historiography Institute compilers each compile a Daily Calendar (Rili), thereby founding the Tang system of official Daily Calendar historiography.
At the outset of his chancellorship, Wei Zhiyi worked closely with Wang Shuwen to swiftly promulgate a series of edicts abolishing the abuses of the late Zhenyuan era (known to history as the "Yongzhen Reform"): completely abolishing the "Palace Market" that harassed commoners and harmed merchants, as well as the monthly surplus tribute presented by salt and iron commissioners; expelling the "Five Falcons' youths" who bullied the capital; demoting the tyrannical and rapacious Metropolitan Governor of Jingzhao Li Shi, and stripping Regional Surveillance Commissioner of Zhexi Li Qi of his concurrent post as Salt, Iron, and Transport Commissioner; recalling upright famous ministers Lu Zhi and Yang Cheng (both of whom died before the edicts arrived); and pardoning large numbers of officials banished during the Zhenyuan era. At the same time, on major personnel and regional military issues, the reformers firmly rejected Western Sichuan Military Commissioner Wei Gao's demand to control all three circuits of Jiannan, and appointed the veteran general Fan Xichao as Military Commissioner of the Left and Right Shence Armies Garrisoning the Towns West of the Capital, with Bureau of Finance Director Han Tai as Marching Army Marshal, in an attempt to wrest command of the Shence imperial guards back from eunuchs led by Ju Wenzhen. One day, while Wei Zhiyi was dining with senior Chancellors Du You, Gao Ying, and Zheng Xunyu in the Secretariat—where by Tang precedent no official was permitted to request an audience while the chancellors were dining—Wang Shuwen barged straight into the Secretariat to discuss affairs with Wei Zhiyi and angrily berated the duty clerk who tried to stop him. Ashamed and hesitant, Wei Zhiyi rose to welcome Wang Shuwen and left his three fellow chancellors waiting with their chopsticks down while he dined and conferred alone with Wang Shuwen in an inner chamber, prompting senior Chancellor Zheng Xunyu to sigh, "How can I remain in this position!" before calling for his horse, riding straight home, and taking to his sickbed.
Falling Out with Wang Shuwen and Dying in Exile in Ya Prefecture
Although compelled to defer to Wang Shuwen in public office, Wei Zhiyi, who came from an eminent aristocratic house and valued literati opinion, inwardly felt deep shame at attaching himself to an upstart inner-court favorite and often deliberately opposed Wang Shuwen on state affairs to cover up traces of his dependence. Wei Zhiyi actively promoted Attendant Censor Dou Qun, who had defied Wang Shuwen to his face, and firmly objected when Wang Shuwen wanted to execute Xuan-She Circuit Patrol Officer Yang Shi'e; when Wei Gao's confidant Liu Pi came to the capital demanding military tallies over the three Sichuan circuits and Wang Shuwen wanted to arrest and behead him, Wei Zhiyi insisted on letting Liu Pi go. After each public disagreement, however, Wei Zhiyi grew afraid and secretly sent confidants to apologize to Wang Shuwen: "It is not that I dare betray our pact—I only wished to help you achieve your goal by indirect means!" Wang Shuwen scoffed at these excuses and suspected Wei Zhiyi of secretly betraying him, so that enmity between the two deepened day by day. Soon afterward, when Wang Shuwen left office to observe mourning for his mother, Wei Zhiyi acted even more independently in the Secretariat and ignored many instructions sent by Wang Shuwen; furious, Wang Shuwen plotted day and night with his partisans to secure an early recall from mourning, even declaring that Wei Zhiyi would be the very first person he executed upon returning to power.
Between the summer and autumn of the first year of the Yongzhen era (805), the plan to seize command of the Shence Armies collapsed completely under resistance from the eunuch Ju Wenzhen and frontier generals. The eunuch faction led by Ju Wenzhen joined forces with regional military commissioners such as Wei Gao of Jiannan and Pei Jun of Jingnan to apply pressure, installing Crown Prince Li Chun as Regent. At this time, Wei Zhiyi's father-in-law Du Huangshang (then Chamberlain for Ceremonials) urged his son-in-law to bow to the situation and lead the court officials in requesting that the Crown Prince act as regent so as to protect himself; not only did Wei Zhiyi refuse, he mocked his father-in-law by saying, "You have barely obtained an office—how is it that you open your mouth to discuss affairs of the forbidden palace?" Enraged, Du Huangshang swept his sleeve and left. In the eighth month of that year, Emperor Shunzong was forced to abdicate in favor of Crown Prince Li Chun (Emperor Xianzong of Tang) and retire as Emperor Emeritus, and Wang Shuwen and Wang Pi were immediately demoted and banished from the capital. Because Wei Zhiyi had clashed with Wang Shuwen and had the newly appointed Chancellor Du Huangshang as his father-in-law, he was not immediately dismissed from the chancellorship at first, but he lost all real power and lived in such constant terror that even the sound of footsteps outside left him pale with fright.
Throughout his life, Wei Zhiyi had harbored an extreme aversion to the words "Lingnan" and "Ya Prefecture": earlier, while serving as a ministry bureau director and viewing maps in the Bureau of Operations of the Ministry of War, whenever he saw a map of Lingnan he would close his eyes and order it taken away; after becoming Chancellor, he saw a map on the corridor wall of the Secretariat and, learning several days later that it was a map of Ya Prefecture, felt deep revulsion and took it as an evil omen. On Day Renshen of the eleventh month of the first year of the Yongzhen era (805), Emperor Xianzong issued an edict denouncing him for "advancing in office through faction and conducting governance through bribery," banishing Wei Zhiyi far away as Marshal of Ya Prefecture (seat southeast of present-day Qiongshan District, Haikou City, Hainan Province), placing him alongside Han Tai, Han Ye, Liu Zongyuan, Liu Yuxi, Chen Jian, Ling Zhun, and Cheng Yi as one of the "Eight Marshals." Suffering from hardship and pestilence at his distant place of exile in Ya Prefecture, according to Han Yu's Veritable Records of Emperor Shunzong, Wei Zhiyi died of illness overseas two years after his demotion (in the second year of the Yuanhe era, 807) at just over forty years of age; later, at the memorialized request of his father-in-law Du Huangshang, permission was granted to transport his coffin back to Chang'an for burial.