Lucas: So we've talked a lot about the Three Kingdoms and the later Joseon era, but there's this whole stretch in between that often gets overlooked — the Goryeo dynasty, which ruled the peninsula for nearly five centuries. And one of the most dramatic chapters in that story is the war with the Khitan, a nomadic people from the north who built the Liao empire. It's a conflict that shaped Goryeo's identity and even influenced how Korea sees itself today. Luna: I know of the Goryeo name, but I have to admit, I don't know much about the Khitan wars. How did it all start? Lucas: Well, it goes back to the founding of Goryeo itself. Taejo Wang Geon, who unified the Later Three Kingdoms in 918 and established the dynasty, had to deal with the Khitan almost immediately. They were a powerful force on the northeastern frontier, and they had their eyes on the same territories that Goryeo claimed, especially around the Yalu River. Early on, Wang Geon pursued a policy of accommodation — he sent envoys and gifts, but he also fortified the border defenses. Lucas: The first major conflict came in 993, when the Liao emperor Shengzong invaded Goryeo with what was said to be a massive army. The Goryeo general Seo Hui negotiated a truce, but the terms were harsh — Goryeo had to break off relations with the Song dynasty and adopt the Liao calendar, which was a big deal symbolically. It was essentially a diplomatic submission, and it set the stage for decades of tension. Luna: So Goryeo was essentially forced to switch sides in the East Asian order. That must have been humiliating. Lucas: It was, and it didn't bring lasting peace either. The Khitan came back in 1010, after a power struggle in Goryeo and the death of King Seongjong. The Liao emperor personally led an invasion that reached all the way to the capital, Kaesong. Goryeo was thrown into chaos, but the invasion stalled, and the Liao eventually pulled back. But that was just the prelude to the biggest invasion of all. Lucas: That came in 1018, under the new Goryeo king, Hyeonjong. The Khitan sent another massive army, said to be around a hundred thousand strong. This time, Goryeo was ready. They had a brilliant general, Gang Gam-chan, who was in his seventies but still sharp as a tack. He set up a defensive line along the Yalu and used the terrain to his advantage, harassing the Khitan forces as they advanced. Luna: A seventy-year-old general taking on the Khitan — that's some serious conviction. Lucas: Gang Gam-chan's strategy was to avoid a direct confrontation until the Khitan were deep inside Goryeo territory, stretched out and exhausted. He let them push south, then cut off their supply lines and hit them at the battle of Gwiju, near the modern city of Kusong. It was a devastating defeat for the Liao — most of their army was destroyed, and only a few thousand escaped back across the Yalu. Lucas: That victory at Gwiju is often called one of the greatest in Korean history. It broke the back of the Liao's expansionist ambitions and forced them to the negotiating table. The peace that followed in 1020 was more stable, and Goryeo retained its independence, even if it had to keep up the formal appearances of being a vassal state. Luna: So did Goryeo actually win the war, or was it more of a stalemate? Lucas: In military terms, Goryeo definitely won the final round. But the political outcome was more complex. They agreed to pay tribute to the Liao and use their calendar, so they were technically subordinate. But in practice, Goryeo kept its own institutions, its own king, and its own culture. It's a classic example of how small states navigated the East Asian tribute system — they gave up symbols of equality but kept real autonomy. Luna: It's like they were playing a game of diplomatic chess, and the Khitan thought they had checkmate, but Goryeo found a way to win the endgame. Lucas: That's a great way to put it. And the legacy of these wars went beyond the battlefield. They reinforced Goryeo's sense of itself as a distinct civilization, separate from the steppe nomads to the north. You can see that reflected in the arts and literature of the time, and even in the later attitudes towards the Manchu invasions of the Joseon period. Lucas: One interesting detail is the role of the Heunghwa Temple, which was built in the aftermath of the wars to honor the fallen soldiers. It became a symbol of the kingdom's resilience. And Gang Gam-chan himself was later venerated as a nearly mythical figure, with shrines dedicated to him across the country. Lucas: If this deep dive into Goryeo's struggles has been worth a small cup of coffee to you, that's exactly where you can support us — buy me a coffee dot com slash fexingo. It's how we keep these conversations going, ad-free and independent. Luna: Yeah, and every little bit helps keep the history flowing. Lucas: So, beyond the battles, the Goryeo-Khitan wars also had a profound impact on the kingdom's internal development. The need to defend the northern frontier led to the construction of fortresses and the strengthening of local military commands. That, in turn, gave rise to a powerful military aristocracy that would eventually challenge the throne — a story for another episode. Lucas: And there's a cultural angle too. The wars with the Khitan helped solidify Goryeo's adoption of Buddhism as a state-protection ideology. Kings and generals believed that the Buddha's power could shield the kingdom, so they commissioned massive projects like the carving of the Tripitaka Koreana, the complete Buddhist canon, which was done in the hope of warding off foreign invasions. It's a beautiful example of how faith and politics intertwined. Luna: So the wars weren't just about territory — they shaped the very soul of the nation. Lucas: Absolutely. And that's why when you look at Korean history, you can't skip over the Goryeo period. It's the bridge between the ancient kingdoms and the Joseon dynasty, and it's filled with stories of resilience, innovation, and survival against the odds. The Khitan wars are a perfect lens into that. Lucas: Now, one thing that's often overlooked is the role of the Yalu River itself. It wasn't just a natural boundary; it was a political and cultural frontier. For Goryeo, controlling the river meant protecting the heartland, and the Khitan invasions were really about breaking that barrier. The river became a symbol of Korean sovereignty, and you still see its importance in modern times, as the border with China. Lucas: The aftermath of the wars also saw a flourishing of diplomatic activity. Goryeo sent envoys to the Liao court, and later to the Song, and even to the Jurchen, who were rising in the north. They were experts at playing these powers against each other, maintaining a careful balance that allowed Goryeo to preserve its independence for centuries. Luna: It sounds like they were masters of realpolitik long before the term existed. Lucas: Exactly. And that's something we can learn from today — how to navigate between larger powers without losing your own identity. Goryeo did it through a combination of military preparedness, diplomatic nuance, and cultural confidence. Lucas: I think it's also worth mentioning that the Khitan wars had a lasting demographic impact. The constant raids and invasions led to population movements, with people fleeing south and settling in new areas. That helped spread the culture of the Goryeo heartland to the rest of the peninsula, blending regional traditions into a more unified Korean identity. Luna: So even in defeat, the Khitan inadvertently helped forge the Korean nation. Lucas: In a way, yes. And that's the irony of history — sometimes the greatest threats force you to become stronger and more cohesive. Goryeo emerged from these wars with a clearer sense of purpose, and that carried over into the later fight against the Mongols, and even into the Joseon era's resistance to foreign domination. Lucas: Before we wrap up, I want to touch on a lesser-known figure: General Gang Jo, who played a key role in the earlier invasion of 1010. He was a military commander who opposed the king's policy of appeasement and led a coup that put Hyeonjong on the throne. It was a controversial move, but it set the stage for the stronger resistance we saw later. Unfortunately, he was later killed, but his legacy is intertwined with Goryeo's fight for survival. Lucas: So, when we look at the Goryeo-Khitan wars, we're not just seeing battles; we're seeing the crucible of Korean identity. It's a story of a kingdom that, time and again, refused to be erased from the map. And that's a thread that runs through all of Korean history, from the Three Kingdoms to the present day. Luna: And it makes me want to learn more about the Goryeo period. I feel like we've only scratched the surface. Lucas: There's so much more — the invention of the world's first metal movable type, the beautiful celadon pottery, the complex court politics. But for now, I hope this gave you a new appreciation for a chapter that often gets overshadowed. Goryeo was not just a middle child between Silla and Joseon — it was a powerhouse in its own right. Lucas: And with that, we'll leave you with a thought: the next time you see a map of East Asia, remember that the line between Korea and China was drawn not just by rivers and mountains, but by generations of people who fought, negotiated, and believed in their own distinct place in the world. Thanks for walking through history with us.