Emperor Dezong of Tang (27 May 742 – 25 February 805), personal name Li Kuo, was an emperor of the Chinese Tang dynasty and the oldest son of Emperor Daizong. His reign of 26 years was the third longest in the Tang dynasty (surpassed only by Emperor Xuanzong and Emperor Gaozong). Emperor Dezong started out as a diligent and frugal emperor and he tried to reform the governmental finances by introducing new tax laws. His attempts to destroy the powerful regional warlords and the subsequent mismanagement of those campaigns, however, resulted in a number of rebellions that nearly destroyed him and the Tang dynasty. After those events, he dealt cautiously with the regional governors, causing warlordism to become unchecked, and his trust of eunuchs caused the eunuchs' power to rise greatly. He was also known for his paranoia about officials' wielding power, and late in his reign, he did not grant much authority to his chancellors. Background Li Kuo was born in 742, during the reign of his great-grandfather Emperor Xuanzong. His father was Li Chu the Prince of Guangping—the oldest son of Emperor Xuanzong's son and crown prince Li Heng, and he was Li Chu's oldest son. His mother was a consort of Li Chu's, Consort Shen. He was born at the eastern palace—i.e., the Crown Prince's palace—at the Tang capital Chang'an. Later that year, he was created the Prince of Fengjie and given the honorific title of Tejin (). During the Anshi Rebellion, which erupted in 755, Emperor Xuanzong fled to Chengdu, while Li Heng and his sons, including Li Chu, fled to Lingwu. Li Kuo's exact locations during this time were not stated in historical records, although presumably he accompanied his father, because while his mother Consort Shen was captured by the rebel Yan forces along with many palace women, he was not. (Consort Shen disappeared during the rebellion and, after the end of the rebellion, despite repeated efforts made by both Li Chu and Li Kuo to find her, she was never located.) While Li Heng was at Lingwu, he was declared emperor (as Emperor Suzong), an act that Emperor Xuanzong later recognized. After Chang'an was recaptured from Yan forces in 756, Li Chu (whose name was then changed to Li Yu) was made crown prince, and in 762, after Emperor Suzong's death, he became emperor (as Emperor Daizong). Emperor Daizong gave Li Kuo the title