Overview
Emperor Xizong of Tang (June 8, 862 – April 20, 888), né Li Yan, later name changed to Li Xuan (, changed 873), was an emperor of China's Tang dynasty. He reigned from 873 to 888. He was the fifth son of his predecessor Emperor Yizong and was the elder brother of his successor Emperor Zhaozong. His reign saw his realm overrun by the great agrarian rebellions led by Wang Xianzhi and Huang Chao, and while both were eventually defeated, by the end of Emperor Xizong's reign, the Tang state had virtually disintegrated into pieces ruled by individual warlords, rather than the imperial government, and would never recover, falling eventually in 907.
Background and accession
Li Yan was born on June 8, 862, at the eastern palace in the Tang imperial capital Chang'an, as the fifth son of then-reigning Emperor Yizong. His mother was Emperor Yizong's concubine Consort Wang, who carried the title of Guifei, the highest rank carried by imperial consorts. In 865, Li Yan was created the Prince of Pu; at that time, his older brother Li Kan was created the Prince of Ying. Consort Wang died a year later, in 866. As he was growing up, one of his constant companions was the eunuch Tian Lingzi, who attended to the stables at his mansion.
In 873, Emperor Yizong became seriously ill. The eunuch commanders of the imperial Shence Armies, Liu Xingshen and Han Wenyue, despite the fact that Li Yan was one of the younger sons of Emperor Yizong, supported him as the successor. Thereafter, an edict was issued in Emperor Yizong's name, creating Li Yan Crown Prince. The edict also changed Li Yan's name to Li Xuan. Emperor Yizong died that day, and Li Xuan took the throne as Emperor Xizong, with his brother-in-law, the chancellor Wei Baoheng, serving as regent for several days. He posthumously honored his mother Consort Wang as empress dowager and created Liu and Han dukes.
Early reign: rebellions led by Wang Xianzhi and Huang Chao
Almost immediately thereafter, Wei Baoheng, who had been exceedingly powerful late in Emperor Yizong's reign, was exiled and later forced to commit suicide in exile. Meanwhile, Tian Lingzi became very influential, and was described as the actual decision-maker for most of the important decisions of state, as Emperor Xizong was young and trusting of him.
From Wikipedia (CC BY-SA 4.0).