Emperor Xianwen of Northern Wei ((北)魏獻文帝) (August 454 – 20 July 476), personal name Tuoba Hong, Xianbei name Didouyin (第豆胤), courtesy name Wanmin (萬民), was an emperor of the Xianbei-led Northern Wei dynasty of China. He was the first emperor in Chinese history who, after retiring at age 17 in favor of his 4-year old son Emperor Xiaowen to become Taishang Huang (retired emperor) in 471, continued to hold on to power until his death in 476—when the official history states vaguely that he may have been killed by his stepmother Empress Dowager Feng.
Family background
Tuoba Hong was born in 454, as Emperor Wencheng's oldest son. His mother was Consort Li, who had previously been captured in war and had become a concubine of Tuoba Ren (拓拔仁) the Prince of Yongchang, a distant relative of Emperor Wencheng, who was executed in 453 after having been accused of crimes. After Tuoba Ren's death, she was seized and taken into the palace, where she became Emperor Wencheng's concubine. In March 456, Emperor Wencheng created Tuoba Hong crown prince—and, at the same time, according to Northern Wei customs, ordered Consort Li to commit suicide.
Reign
Under Yifu Hun's regency
On 20 June 465, Emperor Wencheng died, and the 11-year-old Crown Prince Hong ascended the throne as Emperor Xianwen the next day. Emperor Wencheng's wife Empress Feng was honored as empress dowager, and Emperor Xianwen's deceased mother Consort Li was posthumously honored as Empress Yuan. Power soon fell into the hands of the official Yifu Hun, who assumed dictatorial powers and killed a large number of other officials, including Yang Baoping (楊保平), Jia Airen (賈愛仁) the Duke of Pingyang, and Zhang Tiandu (張天度), Qiumuling Duohou (丘穆陵多侯), Tuoba Yu (拓拔郁) the Duke of Shunyang, and Emperor Wencheng's prime minister Buliugu Li. However, in 466, Empress Dowager Feng staged a coup and had Yifu arrested and executed. She assumed regency herself.
Under Empress Dowager Feng's regency
Empress Dowager Feng engaged Jia Xiu (賈秀), Gao Yun, and Gao Lü (高閭) as her assistants in the regency. Later, she also incorporated her brother Feng Xi (馮熙) into the decision-making circle.
Empress Dowager Feng was soon presented with a major opportunity to expand Northern Wei territory, as also in 466, rival Liu Song had a major dynastic succession struggle after Emperor Qianfei of Liu Song was assassinated in 465. Emperor Qianfei's uncle Emperor Ming of Liu Song was declared emperor in the capital Jiankang, while his brother Liu Zixun the Prince of Jin'an was declared emperor in early 466 in Xunyang (尋陽, in modern Jiujiang, Jiangxi). After Emperor Ming's forces defeated Liu Zixun's and captured and executed Liu Zixun in fall 466, the Liu Song general Xue Andu (薛安都), the governor of Xu Province (徐州, modern northern Jiangsu and northern Anhui), who had initially declared for Liu Zixun, was apprehensive that he would be punished by Emperor Ming, and so decided to surrender to Northern Wei, and soon, he was joined by Bi Zhongjing (畢眾敬) the governor of Yan Province (兗州, modern western Shandong) and Chang Zhenqi (常珍奇) the governor of Ru'nan Commandery (汝南, roughly modern Zhumadian, Henan). Empress Dowager Feng sent the general Yuchi Yuan (尉遲元) to accept the surrenders of these Liu Song generals and to secure the region just north of the Huai River, and Yuchi subsequently defeated two attempts by Emperor Ming to recapture those provinces. She also sent the general Murong Baiyao (慕容白曜) to attack and try to capture Liu Song's Qing (青州, modern central and eastern Shandong) and Ji (冀州, modern northwestern Shandong) Provinces, which were cut off from the rest of Liu Song after Xue's defection, and by 469, both provinces fell into Northern Wei hands, and all of the regions north of the Huai River were by now Northern Wei territory.
In 467, Emperor Xianwen's concubine Consort Li—a daughter of his uncle Li Hui (李惠) and therefore his cousin—bore his oldest child Tuoba Hong (different character than his own), and Empress Dowager Feng personally raised the young prince. She soon terminated her regency and returned imperial powers to Emperor Xianwen, who was 13 years old at this point.
After assuming imperial authority
As emperor, Emperor Xianwen was described as hardworking and appropriate in his awards and punishments—in particular, in promoting honest officials and demoting corrupt ones, and it was said that only starting in his reign were Northern Wei officials praised for being honest. He was also said to be heavily into studies of religions and philosophies, including both Taoism and Buddhism.