Li Guangbi (李光弼; 708 – August 15, 764),兩千年中西曆轉換 formally Prince Wumu of Linhuai (臨淮武穆王), was a Chinese military general, monarch, and politician during the Tang dynasty. He was of ethnic Khitan ancestry, and was instrumental in Tang's suppression of the Anshi Rebellion.

Background Li Guangbi was born in 708, during the second reign of Emperor Zhongzong. His father, Li Kailuo (李楷洛), was a general of Khitan ancestry, whose achievements during the Kaiyuan era (713–741) of Emperor Zhongzong's nephew Emperor Xuanzong eventually led to his creation as the Duke of Ji Commandery. Li Guangbi's mother was Lady Li, a daughter of Li Kaigu.

Li Guangbi was said to be careful in his behavior when young. He was capable in horsemanship and archery, and also studied the Book of Han. He started his army service when young, and was said to be decisive, strict, and full of strategies. After his father died, he inherited the title of the Duke of Ji, and was praised for not entering his wife's room (i.e., abstaining from sexual relations) during the observation of the mourning period.

At the start of Emperor Xuanzong's Tianbao era (742–756), Li Guangbi became the discipline officer at Shuofang Circuit (朔方, headquartered in modern Yinchuan, Ningxia). In 746, the military governor (jiedushi) of Shuofang and Hexi (河西, headquartered in modern Wuwei, Gansu) Circuits, Wang Zhongsi, made him a commanding general for Hexi Circuit, as well as the commander of Chishui Base (赤水軍, in modern Wuwei). Li and Geshu Han became the two key generals under Wang, while he was in command of Shuofang and Hexi. Wang often commented, "One day, Li Guangbi will have my command," and Li gained a reputation for being a good general. In 747, Li unsuccessfully tried to stop Wang from interfering with a campaign against the Tibetan Empire commanded by the general Dong Yanguang (董延光), and when Dong failed, Wang was removed from his post. In 749, he was made the deputy military governor of Hexi, serving under Geshu, and was created the title of Duke of Su Commandery in his own right. In 752, was made the deputy protectorate general at Chanyu (單于, in modern Hohhot, Inner Mongolia). In 755, An Sishun, then the military governor of Shuofang, requested him as deputy. An was impressed by him and wanted to give a daughter to him in marriage, but Li declined and feigned an illness in order to resign and return to the capital Chang'an under Geshu's assistance.

During An Lushan Rebellion In winter 755, An Lushan, the military governor of Fanyang Circuit (范陽, headquartered in modern Beijing), rebelled, and quickly proceeded south toward the Tang eastern capital Luoyang. Emperor Xuanzong recalled An Sishun, who was An Lushan's cousin, to Chang'an, and gave the military governorship of Shuofang to Guo Ziyi. He also asked Guo's recommendation on whom to entrust Hedong Circuit (河東, headquartered in modern Taiyuan, Shanxi), and Guo recommended Li Guangbi. In spring 756, Emperor Xuanzong made Li the military governor of Hedong and had him and Guo advance from Shuofang east, intending to capture An Lushan's territory north of the Yellow River. Li quickly advanced and captured most of Changshan Commandery (常山, roughly modern Shijiazhuang, Hebei). When An's general Shi Siming counterattacked, Guo rendezvoused with him and together, they fought Shi off, and subsequently, they cut off the communications between Luoyang (which An had captured and where he had declared himself emperor of a new state of Yan) and Fanyang. An, fearing that his army's morale would be destroyed, considered leaving Luoyang and returning north to battle Li and Guo himself.

Meanwhile, though, another Yan army, commanded by his general Cui Qianyou (崔乾祐), approached Tong Pass, defended by Geshu Han, and was pretending to be weak in order to draw an attack from Geshu. Geshu, Li, and Guo all recommended to Emperor Xuanzong that the forces under him continue to hold at Tong Pass and not attack Cui, while waiting for Li and Guo to capture Fanyang first to destroy Yan forces' morale. However, the chancellor Yang Guozhong, fearing that Geshu's intentions were actually to start a coup and overthrow him, recommended that Emperor Xuanzong order Geshu to attack Cui. Emperor Xuanzong did so over Geshu's objections, and Geshu was defeated by Cui, who captured Geshu and then Tong Pass. He then approached Chang'an, forcing Emperor Xuanzong to abandon it and flee to Chengdu and Emperor Xuanzong's crown prince Li Heng to flee to Lingwu (the headquarters of Shuofang), where he was declared emperor (as Emperor Suzong).

Meanwhile, Li and Guo heard only of the news that Tong Pass had fallen, but did not know what had happened afterwards, and they decided to withdraw back west of the Taihang Mountains. Later, when Emperor Suzong sent emissaries to call them to Lingwu, they went to Lingwu. Emperor Suzong gave him the additional honorary chancellorAs Li Guangbi never assumed the responsibilities of chancellor at the central imperial administration, he was not usually considered an actual chancellor by traditional historians. See, e.g., New Book of Tang, vol. 62 [table of chancellors, part 2]. title of Tong Zhongshu Menxia Pingzhangshi (同中書門下平章事) and had him return to Taiyuan (the headquarters of Hedong) with 5,000 soldiers, leaving the rest of his soldiers at Lingwu in anticipation of a campaign to recapture Chang'an. When Li arrived at Taiyuan, he, who was angry that the official Cui Zhong (崔眾) had disrespected the prior military governor Wang Chengye (王承業) when relieving Wang, found an excuse to kill Cui, and this shocked the army, causing the entire army to be fearful of him.

In spring 757, Shi, knowing that Li had left most of his troops at Lingwu and believing that Taiyuan's defenses were weak, took 100,000 men to Taiyuan and put it under siege. Li, however, defended the city capably and repeatedly repelled assaults on the city's defenses. Around the same time, An Lushan was assassinated and succeeded by his son An Qingxu, who ordered Shi to return to Fanyang and leave Cai Xide (蔡希德) to continue to siege Taiyuan, although Li was then able to defeat Cai, forcing Cai to lift the siege and retreat. After this victory, Emperor Suzong created him the Duke of Wei, and later changed the title to Duke of Zheng. Around the new year 758, after Emperor Suzong recaptured Chang'an from Yan forces, he gave Li the title of Sikong (司空), one of the Three Excellencies.

Meanwhile, Tang and Huige forces had also captured Luoyang, forcing An Qingxu to flee to Yecheng, but most of his generals submitted to Tang, leaving him only with control of the region around Yecheng. Shi, in control of Fanyang and surrounding regions, also submitted to Tang, and was made a Tang general. However, Li believed that Shi would eventually rebel again anyway, and persuaded Emperor Suzong to have Shi's associate Wu Cheng'en (烏承恩) assassinate him and take over the region himself. When Shi realized this, he killed Wu and submitted a petition demanding that Emperor Suzong kill Li. Emperor Suzong disavowed any knowledge on his part or Li's and tried to placate Shi, but Shi then rebelled again.The Song dynasty historian Hu Sanxing, however, doubted that Emperor Suzong and Li actually were plotting to kill Shi, pointing out that there were a number of implausibilities in the alleged plot by Wu -- including an alleged order from Li that, after Wu succeeds, he should execute all of Shi's main generals. He thus believed that Shi made up the plot as an excuse to rebel and forged the order to get the other generals to go along with him. See Bo Yang Edition of the Zizhi Tongjian, vol. 53. In fall 758, Li went to Chang'an to visit Emperor Suzong and was given the additional title of Shizhong (侍中) as honorary chancellor. Soon thereafter, he and several other key commanders, including Guo, Lu Jiong (魯炅), Li Huan (李奐), Xu Shuji (許叔冀), Li Siye, Ji Guangchen (季廣琛), Cui Guangyuan (崔光遠), Dong Qin, and Wang Sili (王思禮), rendezvoused at Yecheng to put An Qingxu under siege. Because both Li Guangbi and Guo had great contributions, Emperor Suzong did not make either of them the overall commander of the forces, but commissioned the eunuch Yu Chao'en to serve as the surveyor of the troops. During the siege, Li Guangbi suggested launching an all-out assault on Yecheng's defenses, but Yu opposed, and such an assault was not carried out.

Faced with a siege that he could not fight out of, An Qingxu sought aid from Shi Siming, who led an army south from Fanyang and engaged Tang forces in spring 759, and during the middle of the battle, both Tang forces and Shi's forces panicked and scattered—with most of Tang forces completely scattering and pillaging the surrounding areas before fleeing back to their own circuits, with the exception of Li Guangbi and Wang, who were able to gather their forces and withdraw. In fall 759, with Yu blaming Guo for the collapse, Emperor Suzong transferred the command of the Shuofang troops that Guo commanded to Li Guangbi. With Guo's command style being far more relaxed than Li Guangbi's strict style, the Shuofang army was initially displeased, and the general Zhang Yongji (張用濟) considered forcibly ejecting Li Guangbi and demanding Guo's restoration; when Li Guangbi found out, he arrested and executed Zhang. Li Guangbi was also made the deputy supreme commander of the armed forces and in effect in command of the entire Tang army command structure, as the supreme commander was Emperor Suzong's son Li Xi (李係) the Prince of Zhao, whose title was honorary.

Soon thereafter, Shi, who had killed An Qingxu and declared himself the new emperor of Yan, advanced south. Li Guangbi, judging that Luoyang was not defendable, ordered that Luoyang be evacuated, instead taking position in the Heyang (河陽) area, near Luoyang. Shi entered Luoyang, but subsequently with Li Guangbi defending Heyang, was unable to advance for some time toward Chang'an, as Li Guangbi repeatedly defeated his attacking forces, and was continuing to bog Li Guangbi's forces down in the Heyang region. In spring 760, Emperor Suzong gave Li Guangbi the honorary chancellor title of Zhongshu Ling (中書令) and the title of Taiwei (太尉), also one of the Three Excellencies.