Wei Baoheng (韋保衡) (died 873), courtesy name Yunyong (蘊用), was an official of the Chinese Tang dynasty.
[2] In 869, by which time Wei was You Shiyi (右拾遺), a low-level advisory official at the legislative bureau of government (中書省, Zhongshu Sheng), Emperor Yizong gave Wei his favorite daughter, Princess Tongchang (born of Consort Guo), in marriage, and gave them a large mansion at Guangde Block (廣德里) in Chang'an as their house.
It was said that Emperor Yizong spared no treasure in the palace in giving Princess Tongchang her dowry:[3] The doors [of the mansion] were adorned with all kinds of jewels.
Even the boji and baskets were made with gold threads.Wei subsequently was promoted to be Zuo Jianyi Daifu (左諫議大夫), a high-level advisory official at the examination bureau (門下省, Menxia Sheng), as well as imperial scholar (翰林學士, Hanlin Xueshi).
Later in the year, by which time Wei was carrying the titles of deputy minister of defense (兵部侍郎, Bingbu Shilang) and chief imperial scholar (翰林學士承旨, Hanlin Xueshi Chengzhi), Wei was further given the designation Tong Zhongshu Menxia Pingzhangshi (同中書門下平章事), making him a chancellor de facto.
He executed a group of imperial physicians who failed to save her, and further arrested some 300 of their relatives, despite intercessions by the chancellor Liu Zhan and the mayor of Jingzhao, Wen Zhang (溫璋).