The Song–Xia wars were a series of military conflicts fought by the Song dynasty, Western Xia, and Liao dynasty from the late 10th century to early 12th century. Although sporadic conflicts would continue, the Northern Song lost their land connection to Western Xia after the Jin–Song Wars and the Jingkang Incident of 1127 which saw the fall of their capital, Kaifeng, to the Jurchens.