Jiang Gongfu

Jiang Gongfu (, Vietnamese: Khương Công Phụ; 731–805) was a Chinese poet, politician, and Taoist monk during the Tang dynasty who served as a chancellor during the reign of Emperor Dezong.

Biography
It is not known when Jiang Gongfu was born, but it is known that his family was from Ái Châu (愛州, in modern Thanh Hóa Province, Vietnam), although the family claimed to be originally from Tianshui. Jiang Gongfu's grandfather Jiang Shenyi (姜神翊) served as a prefectural prefect, but his father Jiang Ting (姜挺) was not listed with any official titles. He had at least one younger brother, Jiang Fu (姜復).

After Jiang Gongfu passed the imperial examinations he was made Xiaoshulang (校書郎), an editor at the Palace Library. After he passed a special examination on policy proposals, he was made Zuo Shiyi (左拾遺), an advisor at the examination bureau of government (門下省, Menxia Sheng), and he was also made an imperial scholar at Hanlin Pavilion (翰林館). After more than a year, when he was to be given a different office, he submitted a petition, citing the poverty of his household and the agedness of his mother, requesting to be also made the census officer under the mayor of Jingzhao Municipality (京兆, i.e., the region of the capital Chang'an), because the census officer, while a low-level position, had a high salary, and his petition was granted. He was said to be capable and sensible, and whenever he met Emperor Dezong to make suggestions, Emperor Dezong often followed his suggestions.

In 783, with Emperor Dezong waging wars against several warlords in the east, the soldiers from Jingyuan Circuit (涇原, headquartered in modern Pingliang, Gansu), were at Chang'an to await deployment to the east. They were angered that they were not given rewards that they felt they deserved, and they mutinied. Emperor Dezong sent his son Li Yi (李誼) the Prince of Pu and Jiang to try to calm the soldiers, but the soldiers merely got angrier, and Emperor Dezong, in panic, decided to flee Chang'an. As he was ready to do so, Jiang tried to warn him about the dangers of leaving the senior general Zhu Ci in the city – as Emperor Dezong had removed Zhu Ci from his command in 782 due to his brother Zhu Tao's rebelling against imperial authority – and had served as the military governor (Jiedushi) of Jingyuan Circuit before, and therefore might receive the Jingyuan soldiers' support. He suggested to Emperor Dezong that either he should kill Zhu Ci before leaving or ask Zhu to accompany him. Emperor Dezong, in panic, could not carry out either action, and left Zhu in the city. Emperor Dezong fled to Fengtian (奉天, in modern Xianyang, Shaanxi), and Jiang followed him there.

Emperor Dezong issued emergency edicts seeking aid from the nearby circuits. Meanwhile, the Jingyuan soldiers did as Jiang predicted and supported Zhu as their leader. Zhu initially claimed that he was merely calming the situation at Chang'an and was ready to welcome Emperor Dezong back to Chang'an, but soon there were rumors that Zhu was planning to claim imperial title himself and attack Emperor Dezong at Fengtian. In light of this, some officials who had fled to Fengtian suggested that Fengtian's defenses be shored up, but the chancellor Lu Qi, misjudging the situation, argued to Emperor Dezong that Zhu would surely remain faithful to Tang and advocated taking no precautions at all and stopping the incoming aid troops. It was only at Jiang's advice Emperor Dezong continued to receive the aid troops into Fengtian. At suggestion of Lu and Bai Zhizhen (白志貞) the commander of the imperial guards, Emperor Dezong sent his granduncle Wu Xu (吳漵) to Chang'an to communicate with Zhu. Zhu initially welcomed Wu as an honored imperial emissary, but soon put Wu to death. He declared himself emperor of a new state of Qin. He put Fengtian under siege, and during the siege, Emperor Dezong made Jiang Jianyi Daifu (諫議大夫), a high-level advisor at the examination bureau, and gave him the designation Tong Zhongshu Menxia Pingzhangshi (同中書門下平章事), making him a chancellor de facto.

During chancellorship
In 784, because the general Li Huaiguang also rebelled, Emperor Dezong fled further to Liang Prefecture (梁州, in modern Hanzhong, Shaanxi), and Jiang Gongfu accompanied him. On the way to Liang Prefecture, Emperor Dezong's oldest daughter Princess Tang'an died at Chenggu (城固, in modern Hanzhong). After Emperor Dezong reached Liang Prefecture, he wanted to build a pagoda for Princess Tang'an and bury her with great wealth. Jiang submitted a petition stating:

"Soon, the capital will be recaptured, and the princess will be able to be reburied properly. We are now on the road, and we need to be frugal and use the money on the soldiers."

Emperor Dezong became angry and wanted to remove Jiang. Despite the intercession of Emperor Dezong's trusted advisor Lu Zhi, Emperor Dezong soon removed Jiang and made him a member of the staff of his crown prince Li Song.

After chancellorship
Jiang Gongfu's mother soon died, and he left governmental service to observe a period of mourning for her. After the period of mourning, he was returned to Li Song's staff, but went a long time without being promoted. By 792, Lu Zhi was a chancellor. Because he and Lu Zhi were colleagues while they were imperial scholars, Jiang met Lu to request his help. Lu secretly responded:

"I had heard that Chancellor Dou [(i.e., Dou Can, who had recently been removed and exiled by Emperor Dezong)] had recommended you a number of times. The Emperor refused, and had a number of angry words about you."

In fear, Jiang offered to resign and asked to become a Taoist monk. When Emperor Dezong inquired as to the reason and found out that he was fearful, he did not dare to state that Lu had told him this information, and instead claimed that Dou told him the information. Angry that his words had been leaked, Emperor Dezong demoted Jiang to be the secretary general of Quan Prefecture (泉州, in modern Quanzhou, Fujian), and sent imperial eunuch messengers to Dou, in exile, to rebuke him. After Emperor Dezong died in 805 and was succeeded by Li Song (as Emperor Shunzong), Jiang was slightly promoted, to be the prefect of Ji Prefecture (吉州, in modern Ji'an, Jiangxi). He soon died, and was posthumously honored by Emperor Shunzong's son and successor Emperor Xianzong (to whom Emperor Shunzong, then seriously ill, passed the throne to in 805 as well).