Liao dynasty
The Liao dynasty eventually regained internal stability under the strong leadership of Emperor Shengzong of Liao, who sought to counter regional isolation. After conquering Jeongan-guk in 986 and attacking the Jurchens on the lower Yalu River in 991, the Liao dynasty initiated attacks against Goryeo.