Analysis of information sources in references of the Wikipedia article "Perang Goryeo–Khitan" in Malay language version.
The Mongolian-Khitan invasions of the late tenth century challenge the stability of the Koryo government, but a period of prosperity follows the defeat of the Khitan in 1018..
Subsequently the Khitan launched several small-scale attacks, to press demands for Hyŏnjong's appearance at their court and surrender of the region of the Six Garrison Settlements, before mounting their third great invasion in 1018. Led by Hsiao P'ai-ya, this time the Khitan army was harassed at every turn and then, retreating, was all but annihilated by a massive Koryŏ attack at Kuju (Kusŏng) executed by Kang Kam-ch'an. The Koryŏ victory was so overwhelming that scarcely a few thousand of the 100,000 man invasion force survived. The Khitan invasions of Koryŏ thus ended in failure. Koryŏ had resolutely resisted foreign aggression and had driven the invaders back. The result was that the two nations worked out a settlement and peaceful relations were maintained between them thereafter.
Dari 1015 hingga 1019 terdapat peperangan yang tidak putus-putus, dengan serangan ke atas Koryŏ pada 1015, 1016, dan 1017 di mana kemenangan kadang-kadang kepada Koryŏ, kadang-kadang kepada Khitan, tetapi secara keseluruhannya adalah tidak pasti.