Biography
Family Background and Early Life
Li Dewang was born into the Western Xia ruling house, originally the Tuoba clan and later bearing the surname Li. He was the second son of Emperor Shenzong, Li Zunxu. Li Zunxu was a son of Prince Qi Li Yanzong. In 1211, the second year of Huangjian, he deposed Emperor Xiangzong Li Anquan and seized the throne. During Shenzong's reign, the court followed a policy of siding with the Mongols while attacking the Jin. Repeated warfare exhausted Western Xia's military strength and damaged the livelihood of the population.
The historical record preserves little about Li Dewang's early life. As a prince, however, he grew up during intense instability and witnessed his father's repeated shifts between Mongol and Jin relations and the damaging consequences of prolonged war. In 1223, while Genghis Khan was campaigning in Khwarazm, Mongol forces still repeatedly raided Western Xia. Under increasing pressure, Li Zunxu abdicated in the twelfth month and passed the throne to Li Dewang, taking the title retired emperor. Li Dewang thus took power at a moment of national crisis and, according to the timeline in the Chinese source, adopted the Qianding era name.
Accession and Policy Reversal
At accession, Li inherited a severely weakened state. Years of warfare against Jin had consumed elite troops, emptied the treasury, and impoverished the population. Submission to the Mongols had not produced security and Mongol armies repeatedly raided Xia territory. Li therefore decided to reverse his father's policy, moving from cooperation with the Mongols against Jin toward resistance to the Mongols and renewed friendship with Jin.
In the tenth month of 1223 he accepted the proposal of Right Grand Councilor Gao Lianghui and sent envoys to Jin. In the same month, however, Mongol forces launched a major offensive, besieged Shazhou, and then captured Yinzhou. Tens of thousands of Xia soldiers were killed and general Tahai was captured. Northern tribes that Li hoped to contact were also dispersed. Under this pressure, in the eleventh month Li sent envoys to submit to the Mongols and promised to provide a hostage, after which the Mongol siege of Shazhou was lifted.
Struggle to Ally with Jin against the Mongols
In the second month of 1224 Li learned that Genghis Khan's main forces had not yet returned from the western campaigns and again sent envoys to contact unconquered tribes in the north. Genghis Khan responded by secretly ordering the Mongol commander Bo'ol, then responsible for operations in northern China, to attack Western Xia. That autumn the Mongols captured Yinzhou and Western Xia suffered heavy losses.
Facing a grave military crisis, Li followed Gao Lianghui's advice and in the tenth month sent another memorial seeking friendship with Jin. In the third month of 1225 Genghis Khan sent Botu to demand an explanation because Li had not supplied the promised hostage. Gao urged Li to keep faith and suggested sending a capable member of the ruling clan as hostage in order to ease the crisis. Military Affairs Commissioner Li Yuanji also urged him to honor the promise, warning that the Mongols were dangerous even when treated obediently and that repeated reversals would only provoke war. Li rejected the advice, arguing that he was now restoring relations with the Jin and that providing a hostage would place Western Xia under Mongol control. He therefore refused to fulfill the promise and sent the Mongol envoy away.
Li then turned more actively to internal reform and the anti-Mongol alliance with Jin. In the sixth month of 1225 he issued an edict asking for direct criticism throughout the realm. Palace Censor Zhang Gongfu submitted seven proposals: regroup dispersed people to stabilize morale; preserve trust in alliances to relieve national danger; repair walls and moats for defense; clarify military administration and train for war; link beacon posts for mutual support; practice frugality to increase military reserves; and study strategic advantages in order to break the enemy. Li valued the memorial and promoted Zhang to Censor-in-chief.
In the eighth month Li sent Minister of Personnel Li Zhong'e, Southern Court Commissioner Luo Shichang, Left Office Director Li Shaoying of the Department of State Affairs, and others to Jin. They concluded a treaty under which Jin and Xia were to be brother states, Xia would treat Jin as elder brother, each would retain its own era names, and Jin would not grant annual payments to Xia. Relations were thereby restored. In the twelfth month Li sent Hanlin scholar Li Bian to request the reopening of mutual trade. After negotiations an agreement was concluded and the long-interrupted exchange of New-Year and imperial-birthday embassies resumed.
The policy could no longer save the state. Jin itself was close to collapse, militarily and financially exhausted and unable to offer meaningful help. After returning from Jin, Luo Shichang repeatedly warned that Jin aid could not be relied upon and that Western Xia had to strengthen itself. Around the same time Li accepted Genghis Khan's enemy Nilqa Senggüm, son of Wang Khan of the Kereit. Luo strongly advised against this, but Li would not listen. Luo then requested retirement. His home in Yinzhou had already been occupied by Mongol forces, so he wandered to Longzhou in the region of present-day Zhidan, Shaanxi. Expecting Western Xia to fall, he wrote a twenty-juan work titled *Xiaguo Shici* and preserved it at home.
Death amid Fear and Crisis
In the second month of 1226 Genghis Khan personally led 100,000 troops into Xia territory from the north, crossed the desert, penetrated the Hexi region, and captured Heishui city. In the fourth month the Mongol army camped at Hunchui Mountain north of Jiuquan to avoid the summer heat. In the fifth month Suzhou refused to surrender; after the city fell, the Mongols massacred its soldiers and civilians according to the Chinese source.
In the sixth month Ganzhou was besieged. Mongol envoys attempted to persuade the Xia commander Quyeqielü to surrender. Deputy commander Achuo and thirty-five others killed Quyeqielü and the Mongol envoys and led the soldiers and population in a bloody defense. After the city fell, Achuo and the others died in resistance. In the seventh month Xiliang Prefecture, present-day Wuwei, also fell, and the Xia official Wazhaze surrendered after defeat.
Cities collapsed and people fled as Mongol forces advanced. Li Dewang could find no effective response. After his father Li Zunxu died in the fifth month, Li himself died from illness associated with fear and anxiety in the seventh month, aged forty-six. He received the temple name Xianzong. His nephew Li Xian, son of the Prince of Nanping, succeeded as the last emperor of Western Xia. In 1227 the Mongols captured Zhongxing Prefecture and the Western Xia state fell.