宋神宗
In 1081, the Song dynasty launched a five-pronged attack on the Xia. After initial victories, Song forces failed to take the capital of Xia, Xingqing, and remained on the defensive for the next three years. Xia counterattacks also experienced initial success before failing to take Lanzhou multiple times. In 1085, the war ended with the death of Emperor Shenzong of Song.