Emperor Taizong of Liao (25 November 902 – 18 May 947), personal name Yaogu, sinicised name Yelü Deguang, courtesy name Dejin, was the second emperor of the Khitan-led Liao dynasty of China.
Yelü Deguang was born in 902, before the founding of the Liao dynasty. His father was the Yelü clan chieftain Yelü Abaoji, and his mother was Yelü Abaoji's wife Shulü Ping; he was their second son. As a young adult, he was described by the History of Liao as serious in his appearance and kind in his disposition, and often participating in his parents' governance of the state.
In 922, by which time Yelü Abaoji was the emperor of the Liao dynasty, Yelü Deguang was given the title of Generalissimo of All Forces (天下兵馬大元帥, Tianxia Bingma Da Yuanshuai), and he was put in charge of commanding incursions into the territory of Khitan's southern neighbor Former Jin. In 923, under him, Liao forces captured Jin's Ping Prefecture (平州, in modern Qinhuangdao, Hebei), and also defeated the Huxun Tribe (胡遜) of the Xi. It was said that he later followed Emperor Taizu in defeating the Khitan Jueli Tribes (厥里), forcing the submission of the Dangxiang tribes in the Ordos Loop region, conquering the garrisons of the Hexi Corridor region, capturing the capital of the Gansu Uyghur Kingdom, defeating Balhae, and destroying the Dalugu Tribes (達盧骨).
In 926, Emperor Taizu decided to conquer Balhae. In a campaign, he captured the important Balhae city Fuyu (夫餘, in modern Siping, Jilin). (This appeared to have ended the Balhae state, even though Emperor Taizu did not at this time capture Balhae's capital Longquan.) Emperor Taizu set up a Dongdan Kingdom over the old Balhae territory, with its capital at Fuyu, and made Yelü Deguang's older brother Yelü Bei its king, with the title of "Imperial King of Man" (人皇王, Ren Huangwang), echoing the titles used by himself ("Imperial Emperor of Heaven," 天皇帝, Tian Huangdi) and his wife (Yelü Bei's mother) Empress Shulü ("Imperial Empress of Earth," 地皇后, Di Huanghou). He gave Yelü Deguang the title of "Generalissimo Crown Prince" and made Yelü Deguang in charge of the Liao capital Linhuang (臨潢), which Yelü Bei had previously been in charge of.
Shortly after conquering Fuyu, however, Emperor Taizu fell ill and died while still at Fuyu. Empress Shulü took over effective leadership of the Liao dynasty, and she and Yelü Bei began the trek of escorting Emperor Taizu's casket back to Linhuang, leaving one of Emperor Taizu's younger brother Yelü Anduan (耶律安端) temporarily in charge at Dongdan. Once then returned to Linhuang, she wanted to divert the succession away from Yelü Bei, as she had favored Yelü Deguang. However, formally, she called an assembly of the chieftains, along with Yelü Bei and Yelü Deguang, and stated to them, "I love both of my sons, and I do not know which one to make emperor. You can decide which one you wish to support by holding his rein." The chieftains, knowing that she favored Yelü Deguang, rushed to him and held to his rein. She thereafter declared him emperor (as Emperor Taizong). Yelü Bei, angry over this turn of events, took several hundred soldiers and wanted to flee to Later Tang (Jin's successor state), but was intercepted by Liao border guards. Empress Shulü did not punish him, but sent him to Dongdan.
Emperor Taizong honored his mother Empress Shulü as empress dowager, and created his wife Lady Xiao Wen, who was a niece of Empress Shulü's, empress. It was said that he was filially pious toward his mother, such that if the empress dowager were ill and unable to eat, he would also not eat, and that if his mother were displeased at him, he would not dare to meet her until her temper had been soothed.
In 930, Emperor Taizong created his younger brother Yelü Lihu crown prince. Later in the year, apparently in reaction to being bypassed again, Yelü Bei fled from Dongdan to Khitan's southern neighbor Later Tang (Jin's successor state).
In 935, Empress Xiao, after giving birth to her and Emperor Taizong's second son Yelü Yansage (耶律罨撒葛), fell ill and died. There would not be another empress during the rest of Emperor Taizong's reign.
During Later Jin's establishment
As of 936, Later Tang was embroiled in internal strife, as then-emperor Li Congke was suspicious that his brother-in-law Shi Jingtang the military governor (Jiedushi) of Hedong Circuit (河東, headquartered in modern Taiyuan, Shanxi), would rebel against him. At the advice of the imperial scholars Li Song and Lü Qi (呂琦), Li Congke considered entering an alliance with the Khitan to ward off the possibility that Shi would seek aid from Khitan. However, when another imperial scholar, Xue Wenyu (薛文遇), argued against it by predicting that Emperor Taizong would demand a marriage alliance, Li Congke changed his mind and never made the alliance proposal.
Not long after, in summer 936, Li Congke, under Xue's suggestion, issued an edict moving Shi from Hedong to Tianping Circuit (天平, headquartered in modern Tai'an, Shandong). This caused Shi to fear that he would be executed if he left Hedong, and so he rebelled. With Li Congke then sending an army, commanded by Zhang Jingda, to attack Hedong, Shi sent emissaries to Khitan to request aid, promising that, if Emperor Taizong would support him as the emperor of China, to serve Emperor Taizong as a father and to cede Lulong Circuit (盧龍, headquartered in modern Beijing) and Hedong's prefectures north of the Yanmen Pass to Khitan. When Shi's emissaries arrived at the Khitan court, Emperor Taizong was pleased, and he stated to Empress Dowager Shulü, "Your son had dreamt that Master Shi would be sending messengers here. Now it has happened. This was the will of heaven." He sent a reply that he would lead his entire empire's forces to aid Shi in the fall.
Meanwhile, Zhang put Hedong's capital Taiyuan under siege. Taiyuan was running low on food supplies, but its defenses held. In late fall, Emperor Taizong himself commanded 50,000 cavalry soldiers (but claimed publicly that it was 300,000) and headed for Taiyuan. When he arrived at Taiyuan's outskirts, Shi urged caution and not immediate engagement, but Emperor Taizong did not listen. Rather, he engaged Zhang's army immediately, crushing it and lifting the siege on Taiyuan. The remnants of Zhang's army took up position at Jin'an Base (晉安寨), near Taiyuan, but the combined Khitan/Hedong forces then put it under siege. While continuing to siege the Later Tang forces at Jin'an, Emperor Taizong created Shi emperor, having his state known as Jin (referred to by later historians as Later Jin. As part of Shi's enthronement announcement, he announced the agreement to cede Lulong and parts of Hedong, for a total of 16 prefectures, to Khitan, as well as to submit a large amount of silk each year as tribute.
Li Congke ordered Zhao Dejun the military governor of Lulong to command another army to rescue Zhang at Jin'an, but Zhao himself wanted Emperor Taizong's support to be emperor of China, and therefore halted some distance away at Tuanbo Valley (團柏谷, in modern Jinzhong, Shanxi), while he sent secret emissaries to Emperor Taizong's camp, negotiating with him. Zhao, who submitted bribes of gold and silk to Emperor Taizong, promised the terms of being fraternal states with Khitan and that Shi would be allowed to retain Hedong. As Zhao's army was still a strong one, Emperor Taizong was enticed. Shi, hearing of this, sent his close advisor Sang Weihan to plead with Emperor Taizong, arguing that the Khitan/Later Jin forces would prevail and that he should not turn his back on Shi. Emperor Taizong, after consideration, agreed with Sang and rejected Zhao's overture.
After Jin'an had been under siege for three months and ran out of supplies, Zhang's deputy Yang Guangyuan assassinated Zhang and surrendered the remaining Later Tang army, which Emperor Taizong turned over to Shi. Then they began to march toward the Later Tang capital Luoyang. With Yang having surrendered, Zhao's army lost its morale and also collapsed, and Zhao surrendered. At that time, Li Congke, who had himself led another Later Tang relief force northward, decided to return to Luoyang, but once he returned to Luoyang saw that the morale was crumbling and that many more generals were already surrendering to the combined Khitan/Later Jin forces. Emperor Taizong escorted Shi to Lu Prefecture (潞州, in modern Changzhi, Shanxi), and then, citing his belief that the Han Chinese would panic if Khitan forces actually arrived at Luoyang, stayed at Lu while Shi approached Luoyang. Li Congke, finding the situation hopeless, committed suicide with his family. Prior to the suicide, he had Emperor Taizong's older brother Yelü Bei executed. Shi entered Luoyang and established his authority there. He had Yelü Bei's casket escorted with honor back to Khitan.