During the Song Dynasty, Ningxia was the present place.
Ningxia was ruled by Xixia Dynasty established by Tangut Li Yuanhao in Song Dynasty. Xixia (1038- 1227) was a political power established by the Tangut people in western China in the history of China. In 88 1 year (the first year in the middle of Tang Dynasty), Tuoba Sigong occupied Zhou Xia (now Hengshan County in northern Shaanxi), which made it difficult for us to save time and made Xia Guogong independent from generation to generation. 1038 when People's Republic of China (PRC) was founded, it was named "Daxia" with Xia as its national title. Because in the west, the Song people called it "Xixia". Xixia belongs to pan-Han joint politics, with Tangut as the main part and Han nationality and other nationalities as the auxiliary. The system gradually changed from the dual politics of Fan and Han to the unification of China and France. The rise of Mongolia in Mobei, after six invasions by Xixia, disintegrated the Jin-Xia alliance and made Xixia and Jin Dynasty kill each other. There have been many regicide civil strife in Xixia, and the economy tends to collapse because of the war. He finally died in Mongolia on 1227.