Emperor Xuanzong of Tang
|Reign||8 September 712 – 12 August 756|
Empress Yuanxian (Consort Yang Guipin, posthumously promoted and renamed)
|Concubine||Consort Yang Guifei, and others|
|Li Cong, Emperor Fengtian
Li Ying, Crown Prince
Li Heng, Emperor Suzong
Li Yan, Prince of Di
Li Yao, Prince of E
Li Wan, Crown Prince Jinggong
Li Ju, Prince of Guang
Li Yi, Prince Dao of Xia
Li Sui, Prince of Yi
Li Jiao, Prince of Ying
Li Min, Prince Ai of Huai
Li Lin, Prince of Yong
Li Mao, Prince of Shou
Li Bin, Prince of Yan
Li Qi, Prince of Sheng
Li Huan, Prince of Ji
Li Huang, Prince of Xin
Li Ci, Prince of Yi
Li Gui, Prince of Chen
Li Gong, Prince of Feng
Li Tian, Prince of Heng
Li Xuan, Prince of Liang
Li Jing, Prince Ai of Bian
and 29 daughters
|Family name: Lǐ (李)
Given name: Longji (隆基)
|Xiāntiān (先天) 712–713
Kāiyuán (開元) 713–741
Tiānbǎo (天寶) 742–756
|Short: Emperor Ming (明皇)
Full: Emperor Zhidao Dasheng Daming Xiao (至道大聖大明孝皇帝)
|Father||Emperor Ruizong of Tang|
|Born||8 September 685|
|Died||3 May 762(aged 76)|
Emperor Xuanzong of Tang (Chinese: 唐玄宗; Wade-Giles: Emperor Hsuan-tsung of Tang) ( 8 September 685 – 3 May 762), also commonly known as Emperor Ming of Tang (Chinese: 唐明皇; pinyin: Táng Míng Huáng), personal name Li Longji (Wade-Giles: Li Lung-chi; Chinese: 李隆基), known as Wu Longji (Wade-Giles: Wu Lung-chi; Chinese: 武隆基) from 690 to 705, was the seventh emperor of the Tang dynasty in China, reigning from 712 to 756. His reign of 43 years was the longest during the Tang Dynasty. In the early half of his reign he was a diligent and astute ruler, ably assisted by capable chancellors like Yao Chong and Song Jing, and was credited with bringing Tang China to a pinnacle of culture and power.
Emperor Xuanzong, however, was blamed for over-trusting Li Linfu, Yang Guozhong and An Lushan during his late reign, with Tang's golden age ending in the Anshi Rebellion. This was the start of the decline of the Tang Dynasty.
Li Longji was born at the Tang Dynasty eastern capital Luoyang in 685, during the first reign of his father Emperor Ruizong (Li Dan) – but at that time, Emperor Ruizong's mother Empress Dowager Wu (later known as Wu Zetian), not Emperor Ruizong, was in actual control of power as empress dowager and regent. Li Longji was the third son of Emperor Ruizong, and his mother was Emperor Ruizong's concubine Consort Dou. In 687, as the emperor's son, he was created the Prince of Chu. It was said that he was handsome as a child, and was talented in music. He had two older brothers – Li Chengqi, born of Emperor Ruizong's wife Empress Liu, and Li Chengyi (李成義), as well as three younger brothers – Li Longfan (李隆範), Li Longye (李隆業), and Li Longti (李隆悌).
During Wu Zetian's reign 
In 690, Empress Dowager Wu had Emperor Ruizong yield the throne to her, and she took the throne as "emperor" of a new Zhou Dynasty, interrupting Tang. In 692, Li Longji and his brothers were allowed to have residences outside the palace and were given staffs at their mansions. In 693, both his mother Consort Dou and Li Dan's wife Crown Princess Liu (Li Dan's having been reduced to crown prince rank at that point) were killed by Wu Zetian inside the palace after Wu Zetian's lady in waiting Wei Tuan'er (韋團兒) falsely accused them of using witchcraft against Wu Zetian – and not even their bodies were recovered. Subsequently, all of Li Dan's sons were reduced in title, and Li Longji's title was reduced to Prince of Linzi. He and his brothers, along with their cousins Li Guangshun (李光順) the Prince of Yifeng, Li Shouli the Prince of Yong, and Li Shouyi (李守義) the Prince of Yong'an (the sons of their uncle Li Xian, formerly crown prince but who had been forced by Wu Zetian to commit suicide in 684), were kept inside the palace and not allowed to have contact with outsiders until 699, when they were allowed to leave the palace and take up residences outside.
During Emperor Zhongzong's second reign 
In 705, Wu Zetian was overthrown in a coup, and Li Longji's uncle Li Xian (note different person than the father of Li Guangshun, Li Shouli, and Li Shouyi), who was at that time crown prince (Li Dan having yielded that title to him in 698 and taken the title of Prince of Xiang), who had been briefly emperor prior to Li Dan, returned to the throne (as Emperor Zhongzong). Li Longji was made the deputy minister of military supplies (衛尉少卿, Weiwei Shaoqing). In 708, he was made the secretary general of Lu Prefecture (潞州, roughly modern Changzhi, Shanxi). In 710, he was recalled to the capital Chang'an to attend to Emperor Zhongzong when Emperor Zhongzong was sacrificing to heaven and earth. Meanwhile, sorcerers engaged by Emperor Zhongzong believed that there was an aura of an emperor at the area of Chang'an where the mansions Li Longji and his uncles were, and Emperor Zhongzong tried to fulfill the vision by visiting Li Longji's mansion and attending a feast there. While Li Longji was back in Chang'an, he spent time to cultivate relationships with imperial guard commanders, as he believed that Emperor Zhongzong's powerful wife Empress Wei would bring harm to the Tang Dynasty.
Coup against Empress Dowager Wei 
In summer 710, Emperor Zhongzong died suddenly—a death that traditional historians believed to be a poisoning by Empress Wei and her daughter Li Guo'er the Princess Anle so that Empress Wei could become "emperor" like Wu Zetian and Li Guo'er could become crown princess. For the time being, Emperor Zhongzong's son by a concubine, Li Chongmao the Prince of Wen, was named emperor (as Emperor Shang), but Empress Wei retained actual power as empress dowager and regent. Originally, uu, and other officials Zhao Lüwen (趙履溫) and Ye Jingneng (葉靜能) were advising her to take the throne, like Wu Zetian did, and they also advised her to eliminate Li Dan and Princess Taiping. The official Cui Riyong leaked their plan to Li Longji. Li Longji responded by conspiring with Princess Taiping, Princess Taiping's son Xue Chongjian (薛崇簡), as well as several low level officials close to him—Zhong Shaojing, Wang Chongye (王崇曄), Liu Youqiu, and Ma Sizong (麻嗣宗)—to act first. Meanwhile, Empress Wei's nephews Wei Bo (韋播) and Gao Song (高嵩), who had recently been put in command of imperial guards and who had tried to establish their authority by dealing with the guards harshly, had alienated the guards, and the guard officers Ge Fushun (葛福順), Chen Xuanli (陳玄禮), and Li Xianfu (李仙鳧) thereafter also joined the plot.
Without first informing Li Dan, the conspirators rose on 21 July, first killing Wei Bo, Gao, and Empress Wei's cousin Wei Gui (韋璿). They then attacked the palace. When Empress Dowager Wei panicked and fled to an imperial guard camp, a guard beheaded her. Li Guo'er, Wu Yanxiu, and Lady Helou were killed as well. Li Longji soon slaughtered a number of officials in Empress Dowager's faction as well as her clan, while displaying Empress Dowager Wei's body on the street. At the urging of Princess Taiping, Li Longji, and Li Longji's brother Li Chengqi, Li Dan soon took the throne from Li Chongmao and again became emperor (as Emperor Ruizong).
During Emperor Ruizong's second reign 
Emperor Ruizong was immediately faced with the issue of whom to make crown prince—as Li Chengqi, as the oldest son overall and the oldest son of his wife, was the appropriate heir under Confucian principles of succession, but Li Longji had been the one whose accomplishments had allowed him to retake the throne. He hesitated. Li Chengqi declined consideration to be crown prince—stating to his father:
If the state were secure, then consideration should be first given to the oldest son of the wife. If the state were in danger, then consideration should be first given for achievement. If you did not follow this principle, the people of the entire empire will be disappointed. I would rather die than to be placed above the Prince of Ping [(i.e., Li Longji, whose title had been changed to Prince of Ping by this point)].
Li Chengqi wept and begged to yield for several days, and after further persuasion by the chancellor Liu Youqiu—who had been part of Li Longji's coup plans—Emperor Ruizong agreed, and created Li Longji crown prince. Li Longji submitted a petition offering to yield to Li Chengqi, but Emperor Ruizong rejected it.
Initially, Princess Taiping agreed to Li Longji's ascension as crown prince despite the fact that Li Longji was not Emperor Ruizong's oldest son and was not born of Emperor Ruizong's wife Empress Liu (Li Chengqi was both — and therefore pursuant to Confucian principles of succession should have been crown prince) as she believed that Li Longji was young (25 at the time he was made crown prince) and would be easy to control. However, once she began to see that Li Longji was strong-willed, she became apprehensive and often had officials close to her publicly opine that Li Longji was an improper crown prince. She further often paid Li Longji's staff members to spy on him to try to find faults with him. She associated with a group of officials, including the chancellors Dou Huaizhen, Xiao Zhizhong, and Cen Xi, intending to find some way to remove Li Longji, but was unable to get two other chancellors — Wei Anshi and Song Jing — to join her group.
In 711, Song and another chancellor, Yao Yuanzhi, tried to persuade Emperor Ruizong to carry out a plan that they believed would end her plotting. They proposed that the two princes who arguably had superior claims on the throne than Li Longji — Li Chengqi and Li Shouli (whose father Li Xian (note different character than Emperor Zhongzong) was an older brother to both Emperors Zhongzong and Ruizong) — be sent out of the capital Chang'an to serve as prefectural prefects, while Princess Taiping and Wu Youji be sent to live in Luoyang. They also proposed that Li Longji be put in charge of most affairs of state. Emperor Ruizong initially agreed and made the orders as Song and Yao suggested, except that he believed that Luoyang was too far and therefore sent Princess Taiping and Wu Youji only to Pu Prefecture (蒲州, roughly modern Yuncheng, Shanxi). After Princess Taiping found out that the plan was conceived by Song and Yao, however, she was incensed and let Li Longji know her anger. In fear, Li Longji submitted a petition accusing Song and Yao of alienating him from his brothers Li Chengqi and Li Shouli (who was actually a cousin but was raised with Emperor Ruizong's sons) and aunt Princess Taiping, asking that the two be put to death. Emperor Ruizong, in response, demoted Song and Yao and recalled Princess Taiping, Li Chengqi, and Li Shouli to the capital. In the aftermaths, Li Longji submitted another request to yield the crown prince position to Li Chengqi, but Emperor Ruizong declined it. Also in 711, Emperor Ruizong posthumously honored both Empress Liu and Li Longji's mother Consort Dou as empresses and built a temple for them to be worshipped, but was unable to locate their bodies for reburial, and therefore had to give them a ceremonial reburial without the bodies. Emperor Ruizong also ordered that all minor matters be decided by Li Longji.
In 712, Princess Taiping had astrologers warn Emperor Ruizong that the constellation that symbolized the imperial throne, Dizuo (帝座), showed that there would be a change in the emperor's position — believing that Emperor Ruizong would suspect Li Longji of plotting a coup and that she could remove Li Longji this way. Instead, Emperor Ruizong, reasoning that the change in the emperor's position could be accounted by an orderly transition, offered to pass the throne to Li Longji. Princess Taiping fervently opposed it, and Li Longji initially declined, but at Emperor Ruizong's insistence finally accepted and took the throne on 8 September (as Emperor Xuanzong). However, at Princess Taiping's suggestion, Emperor Ruizong retained much of the imperial power as Taishang Huang (retired emperor), and his edicts continued to carry greater force than Emperor Xuanzong's.
As emperor 
Xiantian era (712–713) 
Emperor Xuanzong made his wife Crown Princess Wang empress. Meanwhile, Princess Taiping continued to be highly influential in governmental matters through Emperor Ruizong, and most chancellors were her associates. (Of the seven chancellors at the time, five – Dou Huaizhen, Xiao Zhizhong, Cen Xi, Cui Shi, and Lu Xiangxian – were made chancellors at her recommendation, although Lu was not considered a member of her party.) Liu Youqiu and the general Zhang Wei (張暐), with Emperor Xuanzong's approval, planned to mobilize the imperial guards to kill several of those chancellors – Dou Huaizhen, Cui Shi and Cen Xi. However, after Zhang told the plan to the imperial censor Deng Guangbin (鄧光賓), the news was leaked. Liu was arrested, and initially set to be executed. Emperor Xuanzong interceded on his behalf with Emperor Ruizong, and Liu, Zhang, and Deng were spared but exiled.
Later in 712, Emperor Ruizong decreed that Emperor Xuanzong lead a group of soldiers to examine the northern border. However, the group of conscripted soldiers was disbanded in spring 713, and the plan was never carried out.
By summer 713, it was said that Princess Taiping, Dou, Cen, Xiao, Cui; along with other officials Xue Ji, Li Jin (李晉) the Prince of Xinxing (a grandson of Li Deliang (李德良), a cousin of Tang's founder Emperor Gaozu), Li You (李猷), Jia Yingfu (賈膺福), Tang Jun (唐晙); the generals Chang Yuankai (常元楷), Li Ci (李慈), and Li Qin (李欽); and the monk Huifan, were plotting to overthrow Emperor Xuanzong. It was further said that they discussed, with the lady in waiting Lady Yuan to poison the gastrodia elata that Emperor Xuanzong routinely took as an aphrodisiac. When this alleged plot was reported to Emperor Xuanzong by Wei Zhigu, Emperor Xuanzong, who had already received advice from Wang Ju (王琚), Zhang Shuo, and Cui Riyong to act first, did so. He convened a meeting with his brothers Li Longfan the Prince of Qi and Li Longye the Prince of Xue (who had changed their names to Li Fan and Li Ye by this point to observe naming taboo for Emperor Xuanzong), Guo Yuanzhen, along with a number of his associates — the general Wang Maozhong (王毛仲), the officials Jiang Jiao (姜皎) and Li Lingwen (李令問), his brother-in-law Wang Shouyi (王守一), the eunuch Gao Lishi, and the military officer Li Shoude (李守德) — and decided to act first. On 29 July, Emperor Xuanzong had Wang Maozhong take 300 soldiers to the imperial guard camp to behead Chang and Li Ci. Then, Jia, Li You, Xiao, and Cen were arrested and executed as well. Dou fled into a canyon and committed suicide by hanging. Xue Ji was forced to commit suicide. When Emperor Ruizong heard about this, he quickly ascended the tower at Chengtian Gate (承天門) to ascertain what was happening. Guo reported to him Emperor Xuanzong's intentions, and Emperor Ruizong felt compelled to affirm Emperor Xuanzong's actions in an edict. The next day, Emperor Ruizong issued an edict transferring all authorities to Emperor Xuanzong and moved to a secondary palace, Baifu Hall (百福殿) and would remain there until his death in 716.
Kaiyuan era (713–741) 
Emperor Xuanzong's Kaiyuan era is usually viewed as one of the golden ages of Chinese history – a period of political stability, peace in society, and economic prosperity, in addition to advances in education, literature, music, painting, sculpture, and religion.
Early Kaiyuan era 
Meanwhile, Zhang Yue and Liu Youqiu served as chancellors, but they were soon displaced by Yao Yuanzhi (who then changed his name to Yao Chong) and Lu Huaishen. Changing the system of having a large group of chancellors simultaneous, as had been the case throughout Tang, Emperor Xuanzong reduced the numbers to two (or sometimes three) for the rest of his reign. Yao was considered a highly capable administrator, and with him ruling on most important matters and Lu assisting, the government was said to be highly efficient.
In 714, Emperor Xuanzong carried out a series of political reprisals against the cruel secret police officials of Wu Zetian's reign, exiling the ones that were still alive and eventually barring their descendants from holding political offices. At the urging of Jiang Jiao's brother Jiang Hui (姜誨), he also exiled a number of chancellors – Wei Sili, Wei Anshi, Zhao Yanzhao, and Li Jiao – from Emperor Zhongzong's reign whom Jiang accused of being unable to curb Empress Wei's abuse of power.
Also in 714, Emperor Xuanzong, wanting to punish the Khitan and the Xi for having defeated Tang forces during Emperor Zhongzong's reign, commissioned the general Xue Na to attack them, but Xue suffered another devastating loss to them, at the casualty rate of 80–90%. However, later in the year, when Tufan (Tibetan) forces attacked, Emperor Xuanzong again commissioned Xue to defend against the attack, and Xue was able to repel the Tufan forces. Subsequently, though, although both sides tried to invoke the marriage between Li Shouli's daughter Princess Jincheng and Tufan's king Me Agtsom in seeking peace, the two sides could not reach an agreement and remained in border conflict yearly. In response, Emperor Xuanzong established the office of jiedushi (military governor) of Longyou Circuit (隴右, headquartered in modern Haidong Prefecture, Qinghai), with a centralized command of 12 prefectures under a single military general. Eventually, the establishment of jiedushi would be extended to other parts of the empire.
Meanwhile, the Tang relationship with Eastern Tujue's khan Ashina Mochuo had fluctuated during the first few years of the Kaiyuan era, as minor hostilities occurred at the borders as well as contests over vassals' loyalty for the two states, but they were also at times friendly to each other, with Ashina Mochuo requesting at times to marry a Tang princess and Emperor Xuanzong agreeing to the proposal. In 716, however, Ashina Mochuo was killed in battle against the Bayegu (拔野古), and from that point on, lacking his efficient leadership, Eastern Tujue, while remaining an important regional power, posed much less of a threat to China, although at times still capable of dealing serious defeats to Tang forces, as was the case in 720 when the Eastern Tujue general Tunyugu defeated the Tang garrison at Liang Prefecture (涼州, roughly modern Wuwei, Gansu) and the Tang vassal Baximi. Meanwhile, Tang, Tufan, and the Umayyad Caliphate were constantly engaging in a three-way tug of war for influence in the Xiyu (i.e., modern Xinjiang and former Soviet Central Asia) region. In 715, for example, when the king of Bahanna (拔汗那) was expelled by a new king supported by Tufan and the Umayyad Caliphate, Tang forces commanded by the general Zhang Xiaosong (張孝嵩) attacked the new king and restored the old king.
In and around 716, there was a major locust infestation in the central China region. At Yao's suggestion, Emperor Xuanzong ordered an extensive campaign of extermination, which was said to reduce the impact of the infestation and ward off a major famine. Later in 716, however, due a corruption scandal involving Yao's sons and his associate Zhao Hui (趙誨), Yao incurred displeasure from Emperor Xuanzong and offered to resign. He and Yuan Qianyao, who replaced Lu after Lu's death earlier in 716, were removed from their offices and replaced with Song Jing and Su Ting, with Song making more of the important decisions and Su assisting. Yao would not return to the chancellorship, but would remain influential as a key advisor for Emperor Xuanzong until Yao's death in 721. Contrary to the practical and flexible Yao, Song was more interested in emphasizing integrity and rule of law in governance, and it was said that while Yao's and Song's emphases were different, they were both regarded as instrumental in establishing the rule of Kaiyuan and that subsequent chancellors could not compare to them.
Meanwhile, Song and Su had carried out a stern campaign against the use of coins that were not officially forged by the government, which brought popular resentment that Emperor Xuanzong found problematic. In 720, he removed Song and Su from chancellor offices and replaced them with Yuan and Zhang Jiazhen, and in 721 added Zhang Yue as a chancellor as well.
Meanwhile, by 722, Empress Wang, who had contributed to Emperor Xuanzong's reign by providing suggestions, had begun to lose favor to Consort Wu, a great-grandniece of Emperor Xuanzong's grandmother Wu Zetian. Emperor Xuanzong secretly discussed with Jiang Jiao the possibility of deposing her, but Jiang Jiao careless leaked the discussion. At the urging of Zhang Jiazhen, who was friendly with Empress Wang's brother Wang Shouyi (王守一), advocated that Jiang Jiao be punished and exiled, and Jiang died in exile.
Meanwhile, at Zhang Yue's suggestion, the Tang northern border defense forces, which had about 600,000 men at that time, was reduced by 200,000 men to allow the soldiers to return home. Further, seeing that the Tang conscription system, due to abuses against the soldiers at the time, was near a collapse, as the soldiers were forced into long tours of duty but their families were not exempt from taxes, thus causing great numbers of desertions, Zhang suggested a switch to a recruitment-based system where soldiers were paid salaries. This allowed, for a time, Tang's soldier supply to be replenished. (Some later historians condemned Zhang for the abolition of the conscription system, believing the abolition to be the root of Tang's later fracturing, but some others, such as the modern historian Bo Yang, argued that Zhang's actions not only were necessary to restore the supply of soldiers but saved many lives.)
Middle Kaiyuan era 
In 723, Zhang Jiazhen was demoted on account of a corruption scandal involving his brother Zhang Jiayou (張嘉祐). His position was filled by Wang Jun, who was soon himself demoted over suspicions, never proven, that he was plotting treason. With Zhang Yue thus effectively being the senior chancellor, Zhang Yue promoted literary studies, which Emperor Xuanzong also favored. In 724, he also commissioned the chief imperial astronomer Nangong Shuo (南宮說) to carry out a major astronomical survey to observe the sun and the North Star at various points of the empire.
Also in 724, it was discovered that Wang Shouyi had engaged sorcerers to make amulets for Empress Wang to wear, hoping that the use of magic would allow her to have a son. Empress Wang was deposed and reduced to commoner rank, while Emperor Shouyi was exiled and subsequently ordered to commit suicide in exile. Empress Wang died later in the year, and it was said that the eunuchs and the ladies in waiting mourned her bitterly and Emperor Xuanzong much regretted his treatment of her. Still, after Empress Wang's removal and death, Consort Wu became undisputed mistress of the palace and was treated inside the palace like an empress would be. Still, in 726, when Emperor Xuanzong considered creating her empress, he encountered oppositions from officials on two grounds – that her Wu clan was hated by the people and that as she had her own sons, the position of Li Siqian the Crown Prince (whose name had been changed to Li Hong by this point) would be threatened. As a result, Emperor Xuanzong never created her empress.
In 726, Zhang Yue was accused of corruption by several officials that he had blocked the advances of – Cui Yinfu (崔隱甫), Yuwen Rong, and Li Linfu – and was found to have committed corruption. At the intercession of Gao Lishi, however, Zhang Yue was removed only from his chancellor post and permitted to maintain his title and a number of other posts. He was replaced by Li Yuanhong, and subsequently, Du Xian was also added as a chancellor.
In 727, at the suggestion of the general Wang Junchuo (王君㚟), Emperor Xuanzong commissioned Wang Junchuo to attack Tufan, and after a Tufan incursion in late 726, Wang counterattacked and inflicted losses on Tufan forces commanded by the general Xinuoluogonglu (悉諾邏恭祿). Later in the year, though, Xinuoluogonglu and another general, Zhulongmangbuzhi (燭龍莽布支) attacked and captured Wang's home prefecture Gua Prefecture (瓜州, roughly modern Jiuquan, Gansu), taking Wang's father Wang Shou (王壽) captive. As a result, Wang Junchuo did not dare to counterattack, and subsequently blamed the defeat on a number of tribal chiefs in the area and had them exiles. In response, Yaoluoge Hushu (藥羅葛護輸), the nephew of one of the chiefs so exiled, Yaoluoge Chengzong (藥羅葛承宗), ambushed Wang Junchuo and killed him, and while Yaoluoge Hushu was forced to flee thereafter, for several years Tang did not engage in any offensive campaigns in the region.
Around the same time, Emperor Xuanzong began to build a residential complex in the palace for imperial clan members, known as the Mansion of the Ten Princes (十王院), to centralize their residence. Thereafter, imperial princes, including the crown prince, would rarely live outside the palace complex.
In 728, Emperor Xuanzong added the general Xiao Song as a chancellor. Subsequently, in 729, with Yuan, even though he was senior chancellor, unable to curb the disputes between Li Yuanhong and Du, Emperor Xuanzong removed all three from chancellor positions, promoting Yuwen and Pei Guangting to be chancellors in their stead – in Yuwen's case, for his abilities to find ways to add to the imperial treasury by imposing special taxes and levies. Later in the year, though, Yuwen made false accusations against the general Li Hui (李褘) the Prince of Xin'an (Emperor Xuanzong's second cousin) and was exiled, and subsequently died in exile. Still, it was said that it was starting from Yuwen's times that Emperor Xuanzong began to pay attention on taxes to replenish the imperial treasury, which traditional historians viewed as the start of his inflicting financial burdens on the people. Further, with Pei in charge of the civil service system, it was said that due to Pei's strict adherence to seniority, the Tang civil service system began to lose its ability to find talented people to serve in offices.
In 730, the Khitan general Ketugan (可突干) killed the king Li Shaogu (李邵固) and took over the reign of the Khitan and the Xi personally, forcing the king of the Xi, Li Lusu (李魯蘇) to flee to Tang for protection. Tang sent an army to attack the Khitan, but meanwhile made peace with Tufan. Initially, the campaign against the Khitan did not succeed, but in 732, with Li Hui in command, Tang forces dealt Ketugan a serious defeat and causing many of Ketugan's subordinates to defect and submit to Tang, although Ketugan was not captured.
Late Kaiyuan era 
Meanwhile, Tang also began to have periodic conflicts with Balhae, and in 733 Emperor Xuanzong tried to commission Dae Mun-ye (大門藝), the brother of Balhae's King Mu, to attack Balhae, along with forces from Silla, but the attack was not successful.
Also in 733, Pei Guangting died, and at the recommendation of Xiao Song, he was replaced with Han Xiu, but soon, Song and Han were in repeated conflicts, and late in 733, both were removed and replaced with Pei Yaoqing, who became known for improving the food distribution system, and Zhang Jiuling, known for his integrity. In 734, Emperor Xuanzong added Li Linfu, a close associate of Consort Wu, as a chancellor as well.
Around the new year 735, Ketuhan was killed in an internal Khitan power struggle, and Khitan became a vassal again, although it would not stay so permanently.
By 736, Emperor Xuanzong was described as having been tired of important affairs of state and beginning to become wasteful and exuberant in his lifestyle. Zhang tried to curb his behavior but thus began to lose favor, while Li Linfu was gaining power due to his association with Consort Wu. Further, Zhang supported Li Hong (whose name had been changed to Li Ying by this point), while Li Linfu and Consort Wu supported her son Li Mao (李瑁) the Prince of Shou and tried to have Li Mao made crown prince. In 736, due to Li Linfu's machinations that made Emperor Xuanzong believed that Zhang and Pei Yaoqing were improperly engaging in factionalism, Zhang and Pei Yaoqing were removed and replaced by Niu Xianke, who closely followed Li Linfu's will, and thereafter, Li Linfu would dominate the imperial government almost to the end of Emperor Xuanzong's reign. Li Linfu did all he could to stay in power, and carried out many dirty tricks against actual or potential threats to his power. He also severely discouraged criticism, ending the relative freedom that officials had to make proposals to Emperor Xuanzong. This was often viewed by traditional historians as the turning point of Emperor Xuanzong's reign, which up to that point was considered a golden age in Chinese history, toward a path of degeneration. The Song Dynasty historian Sima Guang, in his Zizhi Tongjian, for example, commented:
Of the chancellors that the Emperor commissioned after he took the throne, Yao Chong emphasized flexibility, Song Jing emphasized the rule of law, Zhang Jiazhen emphasized administrative abilities, Zhang Shuo emphasized literary talent, Li Yuanhong and Du Xian emphasized frugality, and Han Xiu and Zhang Jiuling emphasized honesty. All of them had their different talents. After Zhang Jiuling was demoted, however, the officials were all concerned about keeping their positions, and honest words no longer had a place in government.
In 737, with Zhang no longer in the government to protect him, Li Ying was deposed and subsequently forced to commit suicide. However, with Consort Wu dying later in the year, Emperor Xuanzong did not immediately accept Li Linfu's proposal to have Li Mao made crown prince. Rather, he chose an older son, Li Yu the Prince of Zhong, in 738.
Tianbao era (742–756) 
Historians said that Emperor Xuanzong has forced tens of thousand beautiful women to live in his palace to please him, more than many other Tang emperors. And he did not allow many to set free even when they were old. As Emperor Xuanzong turned his attention to pleasure-seeking with his favorite concubine Consort Yang Yuhuan (Yang Guifei) and her family, he paid less and less attention to the running of his empire, and much of his power fell into the hands of the corrupt Li Linfu (who was succeeded by Lady Yang's dissolute cousin Yang Guozhong) and the eunuch Gao Lishi.
At the same time, 751 saw the loss of the Battle of Talas against the Abbasid Caliphate. As a consequence, the Tang Dynasty temporarily lost some of its influence in Central Asia to the emerging Abbasid Caliphate, as several Tang tributaries turned to the Abbasids.
Meanwhile, the jiedushi (military governors), most of whom were non-Han took more and more regional power into their own hands. Some successful generals included Geshu Han, known for victories over Tufan; Gao Xianzhi, who conquered city states of the Xiyu region, eventually battling the Abbasids at Talas; and An Lushan who defeated and once again vassalized the Khitan. Eventually, in 755, An Lushan started the Anshi Rebellion at Fanyang. The rebels quickly seized the eastern capital Luoyang, and then the imperial capital Chang'an six months later. Emperor Xuanzong fled to Sichuan during the war and abdicated the throne to Li Yu (whose name had been changed to Li Heng at that point) (as Emperor Suzong).
Early Tianbao era 
Meanwhile, it had been the case that, at Li Linfu's encouragement, Emperor Xuanzong began to promote non-Han generals to command large border armies, believing Li Linfu's assertion that non-Han generals were more likely to be personally loyal to Emperor Xuanzong himself and would not have clan entanglements, even though Li Linfu's own personal motivation was to prevent Han officials from going through the border command route to become chancellors, thus threatening him. Such generals who rose in ranks included An Lushan, An Sishun, Geshu Han, and Gao Xianzhi. By 742, the main Tang forces were all concentrated on the border, at nine different military circuits and one special military district (Lingnan), as well as three special coast defense districts (Changle, Donglai, and Dongmou):
|Name of circuit/district||Headquarters location||Responsibility||Garrison strength|
|Anxi (安西)||Qiuzi (龜茲, in modern Aksu Prefecture, Xinjiang)||pacify the Xiyu region||24,000|
|Beiting (北庭)||Beiting (in modern Changji Hui Autonomous Prefecture, Xinjiang)||defend against the Tuqishi and Jiankun||20,000|
|Hexi (河西)||Liang Prefecture (涼州, roughly modern Wuwei, Gansu)||cut off communications between Tufan and Eastern Tujue||73,000|
|Shuofang (朔方)||Ling Prefecture (靈州, roughly modern Yinchuan, Ningxia)||defend against Eastern Tujue||64,700|
|Hedong (河東)||Taiyuan Municipality||defend against Eastern Tujue||55,000|
|Fanyang (范陽)||You Prefecture (幽州, roughly modern Beijing)||defend against the Xi and the Khitan||91,400|
|Pinglu (平盧)||Ying Prefecture (營州, roughly modern Chaoyang, Liaoning)||defend against the Shiwei and the Mohe||37,500|
|Longyou (隴右)||Shan Prefecture (鄯州, roughly modern Haidong Prefecture, Qinghai)||defend against Tufan||75,000|
|Jiannan (劍南)||Yi Prefecture (益州, roughly modern Chengdu, Sichuan)||defend against Tufan and tribes to the south||30,900|
|Lingnan (嶺南)||Guang Prefecture (廣州, roughly modern Guangzhou, Guangdong)||pacify the non-Han tribes in the region||5,400|
|Changle (長樂)||Fu Prefecture (福州, roughly modern Fuzhou, Fujian)||coast watch||1,500|
|Donglai (東萊)||Lai Prefecture (萊州, in modern Yantai, Shandong)||coast watch||1,000|
|Dongmou (東牟)||Deng Prefecture (登州, in modern Yantai as well)||coast watch||1,000|
Meanwhile, it was said that Emperor Xuanzong had paid less attention to increasing revenues after Yuwen Rong's fall, but by 742 he was again interested in doing so, and such officials as Wei Jian (韋堅, a brother-in-law of Li Yu, whose name was changed by this point to Li Heng), Wang Hong (王鉷), and Yang Shenjin (楊慎矜) became favored, and often, matters having to do with finances were stripped out of other officials' responsibilities and given to them as special commissions.
In 744, Eastern Tujue, after a series of internal turmoil and rebellions from its vassals, finally collapsed. Its vassal Huige rose and became the dominant power of the region, but formally submitted to Tang as a vassal.
Meanwhile, after Consort Wu's death, Emperor Xuanzong had been depressed. When he saw his son Prince of Shou Li Mao's wife (his daughter-in-law) Yang Yuhuan (Princess of Shou, by virtue of marriage), he was infatuated with her, and he had her become a Taoist nun and gave Li Mao the wife of the general Wei Zhaoxun (韋昭訓) as his new wife and princess. Meanwhile, he secretly took the nun, Yang, into the palace. She became his senior-ranking concubine (guifei), known as Yang Guifei, and soon became so powerful that officials were bribing her family members to get preferential treatment. She was referred to inside the palace as "the Lady" and treated like an empress.
Meanwhile, Li Linfu was beginning to conflict with Li Shizhi and Wei Jian, who were allies. Li Linfu, who engaged a group of secret police officials to investigate and manufacture evidence against political enemies, were able to get Wei and Li Shizhi demoted and exiled in 746. (Li Shizhi was replaced by Chen Xilie, who gained favor from Emperor Xuanzong for his knowledge in Taoism and sorcery.) In 747, Li Linfu further carried out a campaign of terror against exiled officials, and among the officials executed were Wei, Li Yong (李邕) and Pei Dunfu (裴敦復). Li Shizhi and Wang Ju, who had been instrumental in Emperor Xuanzong's initial actions against Princess Taiping, committed suicide.
Meanwhile, in 747, Emperor Xuanzong wanted to expand the government's talent pool, and so issued an edict ordering that the people who had unusual talents to come to Chang'an to be examined by himself. Li Linfu, fearing that these examinees might accuse him of improprieties when they get to meet the emperor, suggested that these examinees go through two levels of preliminary examinations – by the local governments, and then by the executive bureau. As a result, no one passed the first two levels of preliminary examinations, and Li LInfu subsequently submitted a note to Emperor Xuanzong congratulating him that no talent has been overlooked by the imperial administration.
Meanwhile, also as of 747, An Lushan had become greatly favored by Emperor Xuanzong due to his military achievements and his willingness to flatter Emperor Xuanzong, Consort Yang, and her family members. Further, Li Linfu, apprehensive about the general Wang Zhongsi, who at that time was in command of four circuits (Hexi, Longyou, Shuofang, and Hedong), deprecated Wang in favor of An Lushan. In 747, after Li Linfu implicated Wang in hindering a campaign against Tufan and further accused Wang of plotting a coup to overthrow Emperor Xuanzong and replace him with Li Heng, Wang was arrested and demoted, escaping death only at the pleas of Geshu, who was Wang's deputy and who subsequently was given the commands of Hexi and Longyou. An Lushan, who had already been in command of Fanyang and Pinglu Circuits, was also given Hedong, and thereafter was in command of the most elite troops of the empire. Meanwhile, the ethnically Goguryeo general Gao Xianzhi had become prominent in the Xiyu region, expanding Tang power to the west.
By 748, Consort Yang's cousins Yang Guozhong, Yang Xian (楊銛) and Yang Qi (楊錡), as well as her three sisters (who were created the Ladies of Han, Guo, and Qin), had become exceedingly wealthy and powerful due to the favors that Emperor Xuanzong showed them. It was said that their wealth topped all households in Chang'an. It was also said that by 749, the empire was so wealthy that Emperor Xuanzong viewed treasures as expendable and so awarded them without limit.
Late Tianbao era 
Meanwhile, Li Linfu had a tight grip on power and favors from Emperor Xuanzong throughout the years, but as of 750, Yang Guozhong and Chen Xilie had allied with each other and were finding ways to eliminate Li Linfu's allies from government.
As of 751, Tang was also facing defeats on two different external fronts – as Nanzhao's king Geluofeng (閤羅鳳), angry about unreasonable demands that the Zhang Qiantuo (張虔陀) the governor of Yunnan Commandery (雲南, roughly modern Chuxiong Yi Autonomous Prefecture, Yunnan) and Zhang's subsequent false accusations that he was planning to rebel, rebelled for real, and attacked and occupied Yunnan Commandery. A major attack by the general Xianyu Zhongtong (鮮于仲通) against Nanzhao failed terribly in 751, and subsequent defeats by Tang forces eventually led to a total of some 200,000 casualties among Tang troops. On the western front, Gao Xianzhi suffered a major defeat at the Abbasid forces at the Battle of Talas in 751 as well, ending the Tang expansion to the west.
In 752, Wang Hong's brother Wang Han (王銲) was accused of treason after his associates rose in a failed coup at Chang'an. In the aftermaths, Wang Hong was forced to commit suicide, and Yang Guozhong, Chen, and Geshu Han further tried to implicate Li Linfu in the plot as well. After Li LInfu died in winter 752, Yang Guozhong succeeded him, and almost immediately accused Li LInfu of having been complicit in the rebellion of another general, Li Xianzhong (李獻忠). Li LInfu was posthumously disgraced, and his family was exiled.
A rivalry soon developed between Yang Guozhong and An Lushan, and Yang Guozhong began to repeatedly warn Emperor Xuanzong that An was plotting rebellion. Emperor Xuanzong ignored the warnings. In 754, Yang Guozhong suggested that if An were summoned to the capital, he would surely refuse, and Emperor Xuanzong decided to try An – and An arrived in Chang'an immediately after being summoned. After this incident, Emperor Xuanzong no longer believed that An was plotting rebellion. Nevertheless, because of Yang Guozhong's opposition, he did not make An chancellor, as he was planning. Also in 754, with Yang Guozhong also trying to squeeze Chen out of the government, Chen resigned and was replaced by Wei Jiansu.
In 755, Yang Guozhong further provoked An, who was then back at his post in Fanyang, by surrounding An's mansion at Chang'an and arresting and executing An's staff members. An, in fear and anger, rebelled in winter 755, and quickly reached and captured Luoyang after defeating Feng Changqing's undersupplied army. Subsequently, Emperor Xuanzong, believing in reports from the eunuch Bian Lingcheng (邊令誠) that Feng was cowardly and that Feng's superior Gao Xianzhi was corrupt, executed both Feng and Gao and replaced Gao with Geshu in defending Tong Pass from An's advances. An declared himself emperor of a new state of Yan at Luoyang, but with Geshu defending Tong Pass, An's advances stalled, while Tang forces commanded by Li Guangbi and Guo Ziyi made advances against An-controlled territory north of the Yellow River. Meanwhile, though, Yang Guozhong, fearing that Geshu had designs against him, convinced Emperor Xuanzong to order Geshu to attack despite Geshu's warnings that doing so was risky. Geshu was subsequently defeated by An's forward commander Cui Qianyou (崔乾祐), and Tong Pass fell. With An's forces advancing on Chang'an, on 14 July 756, Emperor Xuanzong, with Yang Guozhong suggesting that they flee to Jiannan Circuit, abandoned Chang'an and fled with Gao Lishi, Yang Guozhong, Wei, Li Heng, Consort Yang, and her family. The following day, 15 July, the imperial guards accompanying the emperor, angry at Yang Guozhong, rose and killed him and forced Emperor Xuanzong to kill Consort Yang as well. Subsequently, Emperor Xuanzong continued on to Jiannan, but Li Heng did not, but rather went to Lingwu, where, on 12 August, Li Heng was declared emperor (as Emperor Suzong). Meanwhile, without knowledge that Emperor Suzong had claimed the throne, Emperor Xuanzong, while still on his way to Chengdu, the capital of Jiannan Circuit, issued an edict that gave several of his sons various responsibility areas, under Li Heng's command overall; until this edict was issued, most of the realm only knew that Chang'an had fallen and had not known where Emperor Xuanzong had fled. When the news of Emperor Suzong's ascension reached Emperor Xuanzong at Chengdu on 10 September, he recognized Emperor Suzong as the new emperor, and thereafter took the title of Taishang Huang (retired emperor) – although his edict recognizing Emperor Suzong appeared to still indicate desire to retain control like his father Emperor Ruizong did early in his reign:
From now on, my edicts (敕, chi) shall be referred to as gao (誥), and submissions to me shall address me as Taishang Huang. All matters relating to the military or the state throughout the realm shall first be submitted to the Emperor before being submitted to me. After the capital is recaptured, I will no longer oversee the affairs of state.
However, perhaps to avoid the impression that he was keeping a rival government to Emperor Suzong, he sent the several chancellors that he had retained or created while on the journey to or after he arrived in Chengdu – Wei, Fang Guan, and Cui Huan – to Lingwu to formally invest imperial power on Emperor Suzong and to serve under Emperor Suzong.
As retired emperor 
Emperor Xuanzong, after becoming retired emperor, largely allowed Emperor Suzong to coordinate the campaign against Yan, but at times nevertheless stepped in to make decisions. For example, in spring 757, apparently without first consulting Emperor Suzong, he named Li Lin chancellor, although he subsequently sent both Li Lin and another chancellor, Cui Yuan, whom he had not sent to Emperor Suzong previously, to Emperor Suzong. He also posthumously honored Emperor Suzong's mother Consort Yang (not Yang Yuhuan) as an empress. Meanwhile, remembering Zhang Jiuling had previously warned about An Lushan, Emperor Xuanzong sent messengers to Zhang's tomb to offer sacrifices to him.
Late in 757, Emperor Suzong, with aid from Huige, recaptured Chang'an from Yan, then ruled by An Lushan's son An Qingxu, who had killed An Lushan earlier in 757 and taken over the throne himself. After Emperor Suzong recaptured Chang'an, he sent messengers to Emperor Xuanzong requesting that he return to Chang'an and offering the throne back to Emperor Xuanzong. Emperor Xuanzong, apprehensive of the offer, initially not only declined but further requested to remain in Jiannan. Only after Emperor Suzong, at the suggestion of his strategist Li Mi, had the government officials make a joint submission to Emperor Xuanzong no longer mentioning the return of the throne, did Emperor Xuanzong agree to depart Jiannan to return to Chang'an. On the way back to Chang'an, he had Gao Lishi try to dig up Consort Yang Yuhuan's body for reburial, but her body had already decomposed; only her fragrance bag remained. Emperor Xuanzong took the fragrance bag back to Chang'an and visited it daily, as if Consort Yang were still alive. On 16 January 758, he arrived at Chang'an, and in a grand ceremony where Emperor Suzong offered the throne back to him again, he formally declined again and personally put on the yellow robe symbolizing imperial status on Emperor Suzong, commenting, "I had been the Son of Heaven for 50 years, and I did not consider it a great honor. Now I am truly honored to be the father to the Son of Heaven." He took up residence at Xingqing Palace, a palace that was remodelled from the residence that he and his brothers had when they were imperial princes.
After Emperor Xuanzong was back in Chang'an, he largely stayed out of policy decisions, although he at times still exerted his influence on Emperor Suzong. For example, Emperor Suzong had wanted to spare Zhang Shuo's sons Zhang Jun (張均) and Zhang Ji (張垍), who had previously submitted to An Lushan, because of Zhang Shuo's contributions and Zhang Jun's and Zhang Ji's prior efforts to protect him from Li Linfu's machinations, but Emperor Xuanzong deeply hated them for having surrendered to An, and at Emperor Xuanzong's insistence, Zhang Jun was executed, and Zhang Ji was exiled to Lingnan.
Meanwhile, after a while, Emperor Xuanzong settled into a routine at Xingqing Palace, with Chen Xuanli and Gao Lishi attending to him. Also often attending to him were his daughter Li Chiying (李持盈) the Princess Yuzhen, the lady in waiting Ru Xianyuan (如仙媛), and the eunuchs Wang Cheng'en (王承恩) and Wei Yue (魏悅). The imperial musicians often played for him, and he often climbed up Changqing Tower (長慶樓) to receive well wishes from the populace. He also often held feasts for generals and people from Jiannan, with Li Chiying and Ru serving as hostesses. Meanwhile, though, Emperor Xuanzong's attendants looked down at the powerful eunuch Li Fuguo, who had served Emperor Suzong throughout the campaign against Yan. To retaliate, Li Fuguo began to try to convince Emperor Suzong that Emperor Xuanzong and his attendants were plotting to seize power back. In 760, with Emperor Suzong's tacit, although not explicit, approval, on one occasion when Emperor Xuanzong was out riding, Li Fuguo intercepted him and forced him to move back to the main palace. Even on that occasion, however, Gao would not submit to Li Fuguo, and even yelled at Li Fuguo to force him to get off his horse and to escort Emperor Xuanzong on foot, along with Gao. Soon after Emperor Xuanzong was forcibly moved, Li Fuguo forced Chen to retire, Li Chiying to return to her temple (she had become an ordained Taoist nun in 711), and exiled Gao, Wang, Wei, and Ru.
After Emperor Xuanzong was forcibly moved back to the main palace, Emperor Suzong tried to please him by offering him the best of all of the tributes of the land first, but Emperor Xuanzong became depressed and rarely ate meat, and quickly became ill. Emperor Suzong had his daughters Princesses Wan'an and Xianyi attend to their grandfather, and initially frequently personally visited Emperor Xuanzong, but after some time became ill himself and could not visit Emperor Xuanzong. He began to regret forcibly moving Emperor Xuanzong and considered killing Li Fuguo, but as Li Fuguo wielded command of the imperial guards at this time, he did not dare to try to do so. Emperor Xuanzong died, in that depressed state, on 3 May 762.
Emperor Xuanzong was deeply criticized by later historians for his wastefulness and for his appointing of Li Linfu, Yang Guozhong, and An to prominent offices. The modern People's Republic of China leader Mao Zedong said that Emperor Xuanzong was "half bright, half dark." The strength that Xuanzong had allowed the military governors to have, which was perpetuated after Tang had defeated Yan, led to a period of increasing conflict and instability which set the stage for the decline of the Tang Dynasty and the ensuing Five Dynasties and Ten Kingdoms Period.
Xuanzong had one poem collected in the famous poetry anthology Three Hundred Tang Poems, in the style of the five-character-regular-verse (wulu) form and in the huaigu genre, and which was translated by Witter Bynner as "I Pass Through the Lu Dukedom with a Sigh and a Sacrifice for Confucius": this poem refers to the philosopher-sage Confucius and to Confucius' home state of Lu, during the by then long-gone Spring and Autumn Period, and expresses sadness for what is past and beyond recall, thus reflecting on the transience of mortal existence.
Chancellors during reign 
- Cen Xi (712–713)
- Liu Youqiu (712, 713)
- Cui Shi (712–713)
- Lu Xiangxian (712–713)
- Wei Zhigu (712–713)
- Dou Huaizhen (712–713)
- Xiao Zhizhong (713)
- Guo Yuanzhen (713)
- Zhang Yue (713, 721–726)
- Yao Chong (713–716)
- Lu Huaishen (713–716)
- Xue Na (713)
- Yuan Qianyao (716, 720–729)
- Song Jing (716–720)
- Su Ting (716–720)
- Zhang Jiazhen (720–723)
- Wang Jun (723)
- Li Yuanhong (726–729)
- Du Xian (726–729)
- Xiao Song (728–733)
- Pei Guangting (729–733)
- Yuwen Rong (729)
- Han Xiu (733)
- Pei Yaoqing (733–736)
- Zhang Jiuling (733–736)
- Li Linfu (734–752)
- Niu Xianke (736–742)
- Li Shizhi (742–746)
- Chen Xilie (746–754)
- Yang Guozhong (752–756)
- Wei Jiansu (754–756)
- Cui Yuan (756)
- Fang Guan (756)
Personal information 
- Consort Dou (killed by Wu Zetian 693), posthumously honored as Empress Zhaochunsheng
- Empress Wang (created 712, deposed and d. 724)
- Major Concubines
- Consort Liu, mother of Princes Cong, Wan, and Sui
- Consort Zhao, mother of Crown Prince Ying (d. 726), posthumous name He
- Consort Yang, mother of Crown Prince Heng and Princess Ningqing, posthumously honored Empress Yuanxian
- Consort Qian, mother of Prince Yan
- Consort Huangfu, mother of Prince Yao and Princess Linjin
- Consort Liu, mother of Prince Ju
- Consort Wu (d. 736), mother of Princes Yi, Min, Mao, and Qi and Princesses Shangxian, Xianyi, and Taihua, posthumously honored Empress Zhenshun
- Consort Gao, mother of Prince Jiao and Princess Changle
- Consort Guo, mother of Prince Lin
- Consort Liu, mother of Prince Bin and Princess Yongmu
- Consort Zhong, mother of Prince Huan
- Consort Lu, mother of Prince Huang
- Consort Yan, mother of Prince Ci
- Consort Wang, mother of Prince Gui
- Consort Chen, mother of Prince Gong
- Consort Zheng, mother of Prince Tian
- Consort Wu, mother of Princes Xuan and Jing
- Consort Dong, mother of Princess Guangning
- Consort Du, mother of Princess Wanchun
- Consort Chang, mother of Princess Xinping
- Consort Caoye, mother of Princess Shou'an
- Consort Mei (d. 755).
- Consort Yang Yuhuan (strangled 756)
- Xuanzong took a dancing girl from Tashkent, Uzbekistan, as a concubine and princess
- Li Cong (李琮, note different character than his brother), né Li Sizhi (李嗣直), name changed to Li Tan (李潭) 725 and to Li Cong in 736, initially the Prince of Xuchang (created 710), later the Prince of Tan (created 712), later the Prince of Qing (created 725, d. 752), posthumously honored Crown Prince Jingde and then Emperor Fengtian 756
- Li Ying (李瑛), né Li Siqian (李嗣謙), name changed to Li Hong (李鴻) 725 and to Li Ying in 736, initially the Prince of Zhending (created 710), later the Prince of Ying (created 712), later the Crown Prince (created 715, deposed and forced to commit suicide 737), posthumously restored to crown prince status 762
- Li Heng (李亨) (b. 711), né Li Sisheng (李嗣升), name changed to Li Jun (李浚) 725, to Li Yu (李璵) in 736, and to Li Shao (李紹) and then Li Heng in 738, initially the Prince of Shan (created 712), later the Prince of Zhong (created 725), later the Crown Prince (created 738, later Emperor Suzong of Tang
- Li Yan (李琰), né Li Sizhen (李嗣真), name changed to Li Qia (李洽) 725 and to Li Yan in 736, initially the Prince of Ceng (created 714), later the Prince of Di (created 725, d. 752)
- Li Yao (李瑤), né Li Sichu (李嗣初), name changed to Li Juan (李涓) 725 and to Li Yao in 736, the Prince of E (created 714, deposed and forced to commit suicide 737), posthumously restored to prince status in 762
- Li Wan (李琬), né Li Sixuan (李嗣玄), name changed to Li Huang (李滉) 725 and to Li Wan in 736, initially the Prince of Zhen (created 714), later the Prince of Rong (created 725, d. 755), posthumously honored Crown Prince Jinggong
- Unnamed prince
- Li Ju (李琚), né Li Ju (李涺, note different character), name changed to final form 725, the Prince of Guang (created 725, deposed and forced to commit suicide 737), posthumously restored to prince status 762
- Li Yī (李一, note different tone than his brother) (d. 717 in childhood), posthumously created Prince Dao of Xia
- Unnamed prince
- Unnamed prince
- Li Sui (李璲), né Li Wei (李濰), name changed to Li Sui 736, the Prince of Yi (created 725, d. 765)
- Li Jiao (李璬) (b. 718), né Li Yun (李澐), name changed to Li Jiao 736, the Prince of Ying (created 725, d. 783)
- Unnamed prince
- Li Min (李敏) (d. 720), posthumously created Prince Ai of Huai
- Li Lin (李璘), né Li Ze (李澤), name changed to Li Lin 736, the Prince of Yong (created 725, killed in battle 757)
- Unnamed prince
- Li Mao (李瑁), né Li Qing (李清), name changed to Li Mao 736, the Prince of Shou (created 725, d. 775)
- Unnamed prince
- Li Bin (李玢), né Li Hui (李洄), name changed to Li Bin 736, the Prince of Yan (created 725, d. 785)
- Li Qi (李琦), né Li Mu (李沐), name changed to Li Qi 736, the Prince of Sheng (created 725, d. 764)
- Li Huán (李環, note different tone than his brother), né Li Yì (李溢, note different tone than his brother), name changed to Li Huan 736, the Prince of Ji (created 725)
- Li Huang (李瑝), né Li Mian (李沔), name changed to Li Huang 736, the Prince of Xin (created 725)
- Li Ci (李玼), né Li Cui (李漼), name changed to Li Ci 736, the Prince of Yi (created 725)
- Li Gui (李珪), né Li Huàn (李渙, note different tone than his brother), name changed to Li Gui 736, the Prince of Chen (created 735)
- Li Gong (李珙), né Li Cheng (李澄), name changed to Li Gong 736, the Prince of Feng (created 735, forced to commit suicide 763)
- Li Tian (李瑱), né Li Hui (李潓), name changed to Li Tian 736, the Prince of Heng (created 735, d. 762–779)
- Unnamed prince
- Li Xuan (李璿), né Li Cong (李淙, note different character than his brother), name changed to Li Xuan 736, the Prince of Liang (created 735, d. 762–779)
- Li Jing (李璥), né Li Tao (李滔), name changed to Li Jing 736 (d. 736), posthumously created Prince Ai of Bian
- Princess Yongmu
- Princess Changfen
- Princess Xiaochang, died early
- Princess Tangchang
- Princess Lingchang, died early
- Princess Changshan
- Princess Wan'an
- Princess Shangxian, died early
- Princess Huaisi, died early, posthumously given Taoist name Dengzhen (登真)
- Princess Jin, initially Princess Gaodu (title changed 785)
- Princess Xinchang
- Princess Linjin
- Princess Wei, initially Princess Jianping (title changed 785, d. 785–805)
- Princess Zhenyang
- Princess Xincheng
- Princess Chu, initially Princess Shouchun (title changed 785), became Taoist nun 784 with the Taoist name Shangshan (上善)
- Princess Pukang, died early, posthumously created 868
- Princess Changle (d. 766–779)
- Princess Yongning
- Princess Song, initially Princess Pingchang (titled changed 785, d. 806–820)
- Princess Qi, initially Princess Xinxing, then Princess Ningqin (title changed to Princess Qi 785, d. 785–805)
- Princess Xianyi (d. 784)
- Princess Yichun, died early
- Princess Guangning (d. 766–779)
- Princess Wanchun (d. 766–779)
- Princess Taihua (d. 742–756)
- Princess Shouguang
- Princess Lecheng (executed 761?)
- Princess Xinping (d. 766–779)
- Princess Shou'an
|Ancestors of Emperor Xuanzong of Tang|
See also 
Notes and references 
- He ascended the throne following the abdication of his father Emperor Ruizong, who received the title Taishang Huang (retired emperor) but continued to wield actual imperial power until 713.
- Following the rebellion of An Lushan, Xuanzong's son Emperor Suzong was proclaimed emperor by the army on 12 August 756, but Emperor Xuanzong and his retinue, who had escaped to Sichuan, only heard the news on 10 September 756, that date marking the end of Xuanzong's reign in practice. Until Emperor Xuanzong received the news of Emperor Suzong's ascension, he continued to issue imperial edicts as emperor.
- This is the name under which Emperor Xuanzong is most known in the Chinese-speaking world. See, e.g., Wen Wei Po article.
- General note: Dates given here are in the Julian calendar. They are not in the proleptic Gregorian calendar.
- See, e.g., Bo Yang Edition of the Zizhi Tongjian, vol. 52, preface.
- Book of Tang, vol. 8.
- New Book of Tang, vol. 81.
- Zizhi Tongjian, vol. 205.
- Zizhi Tongjian, vol. 204,
- Zizhi Tongjian, vol. 206.
- Zizhi Tongjian, vol. 209.
- Zizhi Tongjian, vol. 210.
- Zizhi Tongjian, vol. 211.
- See, e.g., Bo Yang Edition of the Zizhi Tongjian, vol. 51, Preface.
- New Book of Tang, vol. 62.
- Bo Yang, Outlines of the History of the Chinese (中國人史綱), vol. 2, pp. 544–546.
- Zizhi Tongjian, vol. 212.
- See, e.g., Bo Yang Edition of the Zizhi Tongjian, vol. 51, 722.
- Book of Tang, vol. 93.
- Zizhi Tongjian, vol. 213.
- Zizhi Tongjian, vol. 214.
- New Book of Tang, vol.132
- Dao Fu. 上陽白髮人
- Zizhi Tongjian, vol. 215.
- Zizhi Tongjian, 216.
- Zizhi Tongjian, vol. 217.
- Zizhi Tongjian, vol. 218.
- Zizhi Tongjian, vol. 219.
- Zizhi Tongjian, vol. 220.
- Book of Tang, vol. 51.
- Zizhi Tongjian, vol. 221.
- Zizhi Tongjian, vol. 222.
- E.g., see Book of Tang, vol. 9.
- E.g., Bo Yang, Outlines of the History of the Chinese, vol. 2, pp. 550–552.
- Joe Studwell (2003). The China Dream: The Quest for the Last Great Untapped Market on Earth. Grove Press. p. 384. ISBN 0-8021-3975-2, 9780802139757 Check
|isbn=value (help). Retrieved 2010-06-29.
- Many of the records of Emperor Xuanzong's sons' creations as princes and name changes have various dating in their biographies in the Book of Tang and the New Book of Tang. See Book of Tang, vol. 107 and New Book of Tang, vol. 82. To the extent possible, the dates from the Zizhi Tongjian, which tried to harmonize those various dates, are used. If the dates are not available in the Zizhi Tongjian, the dates from the Book of Tang are used.
- Princess Lecheng's very brief biography in the New Book of Tang is ambiguous as to whether it was she or her husband Xue Lüqian (薛履謙) who was executed that year. See New Book of Tang, vol. 83.
- Book of Tang, vols. 8, 9.
- New Book of Tang, vol. 5.
- Zizhi Tongjian, vols. 204, 205, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222.
Emperor Xuanzong of TangBorn: 8 September 685
Emperor Ruizong of Tang
|Emperor of Tang Dynasty
Emperor Suzong of Tang
|Emperor of China (most regions)
|Emperor of China (Central/Northern)
An Lushan of Yan