西秦
In fall 430, while Helian Ding was engaging the Western Qin, the Northern Wei made a surprise attack on the new Xia capital Pingliang and conquered the kingdom.