During the Baoyuan period of the Northern Song Dynasty, Li Yuanhao broke with the Song court and proclaimed himself the emperor in Xingqing Mansion (today's Yinchuan). The country was named Daxia. The northwest border of the Song Dynasty was full of war smoke. The imperial court was already on guard against Li Yuanhao and sent the capital commander Zhang Kang to inspect Weizhou in advance. A vigorous battle to defend the border and suppress the enemy began on the spot. The imperial court's anti-enemy policy was hesitant, Xixia and Liao were colluding with each other, and various forces in the northwest were complicated. Zhang Kang led the border officers and soldiers to fight bravely, and knights from the rivers and lakes came to help one after another.