In 1227, Genghis Khan's army attacked and destroyed the Tangut capital of Ning Hia and continued to advance, seizing Lintiao-fu, Xining province, Xindu-fu, and Deshun province in quick succession in the spring.
Legenda pravi, da je Džingiskan pred bitko na nebu videl pet zvezd, postavljenih v vrsto, kar je imel za znamenje (omen) svoje zmage.