Battle of Kuju

The Battle of Kwiju, also known as the Battle of Kuju, which occurred in 1019, was the major battle during the Third Goryeo–Khitan War (1018-1019), fought between the Khitan-led Liao dynasty of China and the Goryeo dynasty of Korea.

After crossing the Amnok River, the Liao dynasty troops invaded the Goryeo dynasty. The Goryeo general Kang Kam-ch'an dammed a stream and released it as the Liao troops were crossing. Despite suffering significant casualties, Liao troops marched to Gaegyeong, the capital of Goryeo.

During their campaign, general Kang Kam-ch'an cut the supplies of the Liao troops and harassed them relentlessly. Exhausted, the Liao troops decided to retreat hastily northward. Monitoring the movement of their troops, general Kang Kamch'an attacked them in the vicinity of Gwiju, ending in a complete victory for the Goryeo dynasty.

Aftermath
After the battle, peace negotiations followed and the Liao dynasty did not invade Korea again. Korea agreed to break off relations with the Song and have tributary relations with the Liao, but kept its newly gained territories at the Yalu river. According to historian Bielenstein however, Goryeo maintained diplomatic relations with Song rather than break relations, Hyeonjong kept his own reign title, and the Goryeo and Liao had concluded peace as equals in 1022. After the conflict's end, Korea entered in a long and peaceful period with its foreign neighbours across the Yalu River.