Liao withdrawal The Second Goryeo-Khitan War (Chinese: 第二次高麗契丹戰爭; Korean: 제2차 고려-거란 전쟁) was an 11th-century conflict between the Goryeo dynasty of Korea and the Khitan-led Liao dynasty of China near what is now the border between China and North Korea.
[5] The Liao won a pitched battle at Kaesong and occupied the city,[1][9][10] however the Goryeo king had already escaped to Naju.
[2] Kaesong was sacked and its palaces, official buildings, and archives were destroyed.
Afterward Goryeo promised to reaffirm its tributary relationship with the Liao dynasty.
[3][4] The Goryeo king sued for peace, but the Liao emperor demanded that he come in person and also cede key border areas; the Goryeo court refused the demands, resulting in a decade of hostility between the two nations, during which both sides fortified their borders in preparation of war.