Western Xia was a multi-ethnic state established on the basis of the local division of the former Xia Prefecture (the northern border between present-day Inner Mongolia and Jingbian County, Shaanxi), and was formally established in the first year (1038) of the Heavenly Gift law Yanzuo. Its ruled over all of present-day Ningxia, most of Gansu, and small parts of Shaanxi, Qinghai, and Inner Mongolia, and its capital was named Xingqingfu (present-day Yinchuan, Ningxia).

Full map of the Song and Jin dynasties
In order to fight for their independence and survival, the rulers of Western Xia skillfully exploited the contradictions between the Liao and Song. Between the liao and the song, they continued to carry out military blackmail. Western Xia, like the Khitans, was not good at attacking and fighting, so the Northern Song court was limited to killing and harassing the border. Throughout the Northern Song Dynasty, Western Xia was always the biggest frontier problem for the Song people. Since the three dynasties of the Northern Song Dynasty, Emperor Shenzong, Zhezong, and Emperor Huizong used troops against Western Xia over the years, the national strength of Western Xia was greatly damaged, and since then it has lost the capital to compete with the Song and Liao.
Soon, the rise of the Jurchens gave them the opportunity to fall into the rocks. The Jurchens marched south to invade the Song Dynasty, and the People of Western Xia naturally would not let go of this heavenly opportunity. Taking advantage of the Northern Song Dynasty's elite to go to Beijing to serve the king, the Western Xia army began a new round of robbery.
The military campaign in Western Xia was unusually smooth, and when they led an army to capture the Song Dynasty prefecture of Xi'an (present-day Haiyuan, Ningxia), Guanggun did not suffer immediate losses--the state judge Ren Dejing did not resist at all, and directly surrendered the city. The Western Xia army occupied Xi'an Prefecture without bloodshed, and Xia Chongzong Li Qianshun, in order to appease the place, still ordered Ren To respect the power to know the state affairs.
Xia Chongzong
The Dangxiang people in the Western Xia Kingdom were naturally the ruling class, but at the same time they also attracted a large number of Han, Tubo, and Uighur people for my use. Western Xia can be said to be a coalition regime of The Han Dynasty.
Ren Dejing's surrender was not his intention, but a helpless choice in a hurry. Therefore, it became a restricted use figure in the Western Xia Kingdom.
Politically, it was very uncomfortable, which made Ren Dejing extremely distressed.
In the third year of Daedeok (1137), Ren Dejing, who was politically active in demanding progress, offered his flower-like daughter to Emperor Chongzong as a concubine. (Treating his own daughter as his own Qingyun Ladder is abominable)
After receiving Ren Dejing's "filial piety", everyone in the Western Xia Dynasty said that regardless of the door and talent, Ren Concubine was a well-deserved no.1!
The voice of the masses Xia Chongzong could not be ignored, Ren Dejing's efforts paid off, and the following year, Concubine Ren was made empress.
The following year, Xia Chongzong died, and Li Renxiao succeeded to the throne, historically known as Xia Renzong.
Ren Dejing unscrupulously "went up every day" and finally ushered in a dividend period. In the first year of Tiansheng (1149), he ascended to the imperial court and was greatly favored by Emperor Renzong. After that, the official fortunes were prosperous, and he rose step by step, and for eight years he ascended to the high position of minister of state below one person and above ten thousand people.
Being an extreme person is not his ultimate ideal, and with the change of status and status, Ren Dejing's psychology has also undergone great changes. Now, he coveted the position of the Supreme Nine-Five.
Seeing that her father's arrogance and usurpation of power were clearly revealed, Empress Ren was deeply worried, and she painstakingly admonished her, but she had no choice but to do what she wanted to do and did not listen at all.
In April of the first year of Qianyou (1170), Empress Ren died. After a month, Ren Dejing could not wait to make an unreasonable request to Xia Renzong to divide half of the country under his rule. Emperor Renzong had no choice but to assign him the Southwest Road and the Luo pang Ridge in Lingzhou.
Ren Dejingjian was still dissatisfied with the title "Chu State" and forced Emperor Renzong to send the Jin Dynasty to seek a title for him. Ren Dejing turned his hand into a cloud and overturned his hand into rain in the Western Xia Kingdom, and although he had the ambition to usurp the usurpation, he did not have a strategic vision. At this time, the status of the Western Xia State in the international community was completely different from before.
At this time, the relationship between Western Xia and Jurchen was far more stable than that between the Former Song Dynasty. Although xia renzong had a peace-loving side, the most important thing was that after several bitter flattening by the Song court, the national strength of the Western Xia people was no longer enough to compete with the Jurchen regime.
Military strength determines the right to speak in the international community, and in the decades since the annexation of gold, the Western Xia Kingdom has not dared to be rude to the Jurchen Dynasty.
Although Emperor Renzong of Western Xia sent envoys to Jin Ting to ask for the title of Ren Dejing, Jin Shizong's fiery eyes and golden eyes saw through Ren Dejing's trick and pointed out to the point that "this will be forced by the courtiers."
Jin Shizong refused to recognize the pseudo-Chu regime, and in his edict to Xia Renzong, he clearly stated the Jin Dynasty's support for him.
Ren Dejing saw that his hopes had vanished and could not be recognized by the Jin Dynasty. Instead, he secretly contacted the Song army in Sichuan and Shaanxi to prepare to jointly deal with the Jin people.
Western Xia envoys
Since Emperor Xiaozong of the Southern Song Dynasty succeeded to the throne, he has never forgotten to recover. Yu Yunwen of the First World War of Quarry Rock turned the tide and became the leader of the Anti-Japanese Faction of the Song Dynasty from then on. At this time, Yu Yunwen was serving as an envoy to Sichuan xuanfu and actively planning the Northern Expedition. After receiving Ren Dejing's letter, Yu Yunwen sent people to bring wax pill books and Ren Dejing agreed to jointly raise troops to attack Jin.
Yu Yunwen
Unfortunately, when the Song envoys crossed the border, they were captured by the Western Xia border guards.
Xia Renzong, who had already been intolerable, had already gained the firm support of Kim Sejong and had obtained ironclad evidence of Ren Dejing's treason, and immediately decided to send his cronies to booby-trap AndeJing and do his best to punish his henchmen.
Although the Western Xia Kingdom avoided a crisis of division and division, the sequelae of Ren Dejing's usurpation were difficult to eliminate in the short term. Although Xia's crisis turned into safety, the country's strength has since collapsed.