Lucas: So we've covered a lot of ground on this show — from the turtle ships to the turtle ships again. But there's a whole chapter of Korean history that often gets overshadowed by the Imjin War and the Mongol invasions, and it's just as brutal and just as formative. I'm talking about the Goryeo-Khitan Wars. Luna: The Khitan — those are the people who founded the Liao dynasty, right? Lucas: Exactly. The Khitan were a nomadic people from the steppes, and by the late tenth century they'd built a massive empire that stretched from Manchuria down into northern China. Their ruler, Emperor Shengzong, was ambitious, and to the east lay Goryeo — a kingdom that had already unified the peninsula and was doing pretty well for itself. Lucas: But the thing is, Goryeo wasn't just sitting there minding its own business. It had its own ambitions in the north, and it was also playing a delicate diplomatic game between the Liao and the Song dynasty in southern China. The Song were the 'legitimate' Chinese dynasty in the eyes of many, but the Liao were the ones with the actual military muscle. Luna: So Goryeo was stuck between two big neighbors. Classic. Lucas: Right. And the first invasion came in 993. The Liao sent a massive army across the Yalu River, and they expected a quick victory. But Goryeo's forces, led by a general named Seo Hui, managed to hold their own, and what followed was a diplomatic negotiation that was almost as important as the fighting itself. Lucas: So Seo Hui basically talked the Liao into backing down, and in the process Goryeo gained control of some strategic territory south of the Yalu. But the peace didn't last. The Liao were not happy with how things had gone, and they were just waiting for an excuse to come back. Luna: And that excuse came a decade later? Lucas: It came in 1010. Goryeo had a bit of a succession crisis — King Mokjong was assassinated, and his successor, King Hyeonjong, was a teenager. The Liao saw an opportunity, and Shengzong personally led a huge invasion force. This time, they didn't stop at the border. They pushed all the way to the capital, Gaegyeong, and burned it to the ground. Lucas: It was a devastating blow. The king had to flee south, and the kingdom was in chaos. But the Khitan didn't stay long — they had supply line issues and faced guerrilla resistance from Goryeo's local militias. They eventually withdrew, but not before leaving a trail of destruction. Luna: That sounds like the Imjin War, but a couple centuries earlier. Lucas: Very similar pattern, yeah. And the third invasion, in 1018, was the one that really became legendary. This time, the Liao sent another massive army — some sources say a hundred thousand men. They crossed the Yalu, and Goryeo's general, Gang Gam-chan, was ready for them. Lucas: He used a classic tactic — he dammed a river upstream, and when the Khitan tried to cross, he released the water. The resulting flood drowned thousands of soldiers. That was at the Battle of Heunghwajin. But the Khitan general, Xiao Baiya, was a tough cookie, and he regrouped and kept pushing south. Lucas: The final showdown came at the Battle of Gwiju, near the Taedong River. It was a brutal, bloody fight — hand to hand, archery, the works. And Gang Gam-chan's forces won a decisive victory. The Khitan withdrew, and Goryeo had finally broken the back of the Liao's southern ambitions. Luna: That's incredible. So after that, the Khitan never came back? Lucas: They never invaded again, no. The Liao were so weakened that they had to focus on internal problems, and they eventually fell to the Jurchen — who would later found the Jin dynasty. But the wars had a lasting impact on Goryeo. Lucas: For one, they led to a strengthening of Goryeo's military. The kingdom realized it needed a standing army, not just local militias. And they also led to a cultural shift — the wars were so devastating that Goryeo threw its support behind Buddhism, commissioning the carving of the Tripitaka Koreana, the massive collection of Buddhist scriptures, as a way to invoke divine protection. Luna: The Tripitaka Koreana — that's the one at Haeinsa, right? Lucas: Yes, though the first version was actually destroyed in the Mongol invasions later on. But the idea was the same — when the kingdom faced existential threats, the state turned to religion. And there's a physical remnant of these wars that you can still see today: the Heunghwa Temple, which was built to house the scriptures that had been preserved during the wars. Lucas: But beyond the military and the religious response, these wars also forged a sense of Goryeo identity. They had faced down a huge empire, and they had won. That resilience became a core part of the Korean self-image — something that would be tested again and again, from the Mongols to the Japanese. Luna: There's something almost poetic about that. But I also remember reading that Goryeo's relationship with the Khitan wasn't all war — there was also diplomacy and trade. Lucas: Absolutely. After the wars, Goryeo and the Liao established formal tributary relations — Goryeo sent envoys and gifts, and in return got peace and trade access. This was standard practice in East Asia at the time, but it's a bit of a painful memory for Koreans, because it meant acknowledging the Liao as superior. But it was a pragmatic choice. Lucas: And interestingly, Goryeo never fully cut ties with the Song. They kept sending unofficial envoys, and there was a thriving cultural exchange — Song scholars and artisans were welcomed in Goryeo, and that's partly how Goryeo ended up with such beautiful celadon pottery, which was inspired by Song ceramics but developed its own unique style. Luna: So the same wars that brought destruction also brought cultural flourishing. That's a complex legacy. Lucas: Yeah, it really is. And it's a reminder that history isn't just a string of battles — it's the web of decisions, both wise and foolish, that shape a nation's character. Lucas: I think if people take one thing away from today's episode, it's that Korea has been facing existential threats for over a thousand years, and it's still here. That's a powerful story. Luna: And it's a story that's relevant now more than ever. I know our listeners are busy, but if you enjoyed this deep dive, and you want to support us keeping the show ad-free, you can buy us a coffee at buy me a coffee dot com slash fexingo. It's a small gesture that goes a long way. Lucas: Yeah, that's right. We really appreciate it. But let's not get too sappy — we've still got a few minutes left, and I want to talk about something that's been on my mind: how these wars are remembered today in Korea. Lucas: There's a monument to Gang Gam-chan and the Battle of Gwiju near the actual site, and it's a place of pilgrimage for many Koreans. The battle is often cited as a symbol of Korean resistance against foreign domination, right up there with the battle of Myeongnyang. Luna: It's interesting how certain battles become national myths. Lucas: Totally. And the myth of Gang Gam-chan is particularly interesting because he was already an old man when he won that battle — he was in his seventies. He's often depicted as a wise, almost grandfatherly figure, which adds to the pathos of the story. Lucas: But what's less well-known is that the Battle of Gwiju was not a complete annihilation of the Khitan army. They managed to retreat with a significant portion of their forces intact. The victory was decisive, but it wasn't total. That nuance is often lost in retellings. Luna: So it wasn't a 'total victory' in the strictest sense, but it achieved the goal of pushing them back. Lucas: Exactly. And that's how Korea has always survived — by achieving the goals that matter, even if the victory isn't as clean as we'd like. Lucas: As we wrap up, I think it's worth reflecting on the fact that the Goryeo-Khitan wars are a reminder that Korea's history is not just about Korea — it's about the entire East Asian world, and how these different civilizations have interacted and clashed over centuries. Lucas: If you want to learn more, I'd recommend checking out the writings of Peter Lee, who has translated many of the primary sources, or the history of the Liao dynasty itself, which is surprisingly readable. Luna: Thanks for taking us through this, Lucas. It's a part of Korean history I didn't know much about, and now I feel like I have a whole new piece of the puzzle. Lucas: Glad to hear it. And as always, thanks for listening. We'll see you next time.