The Second Goryeo-Khitan War was an 11th-century conflict between the kingdom of Goryeo and the Liao dynasty  near what is now the border between China and North Korea. It was the second of the Goryeo-Khitan Wars, with the First Goryeo-Khitan War occurring in 993, the second in 1010, and the third in 1018. When King Seongjong died in 997, Liao invested his successor Wang Song as king of Goryeo . In 1009, he was assassinated by the forces of the general Gang Jo. Using it as a pretext, the Liao attacked Goryeo in the next year. They lost the first battle but won the second one, and Gang Jo was captured and killed. The Liao occupied and burnt the Goryeo capital Kaesong. The Khitan withdrew after Goryeo reaffirmed its tributary relationship with the Khitan.

Question: How many years after the start of the First Goryeo-Khitan War did King Seongjong die?
Answer: 4

Question: Which event happened first, the assassination of Wang Song or the Second Goryeo-Khitan War?
Answer: In 1009, he was assassinated, second in 1010

Question: How many years after King Seongjong died did the Third Goryeo-Khitan War begin?
Answer: 21

Question: How many adversaries were involved in the Second Goryeo-Khitan War?
Answer: 2

Question: How many years were there between the first Goryeo-Khitan War and the second?
Answer: 17

Question: How many years after the first Goryeo-Khitan War did the second Goryeo-Khitan War happen?
Answer: 17

Question: Which happened earlier, the first Goryeo-Khitan War or the death of King Seongjong?
Answer: the first Goryeo-Khitan War

Question: Who was killed in 1009?
Answer: Wang Song

Question: Who died earlier, King Seongjong or Gang Jo?
Answer: King Seongjong

Question: Did more time pass between the first and second Goryeo-Khitan Wars or between the second and third Goryeo-Khitan Wars?
Answer: the first and second

Question: Which happened later, the death of Gang Jo or the third Goryeo-Khitan War?
Answer: the third Goryeo-Khitan War

Question: How many years after the second Goryeo-Khitan war did the third Goryeo-Khitan war happen?
Answer: 8

Question: How many years after the first Goryeo-Khitan  did the second Goryeo-Khitan war happen?
Answer: 17

Question: Which event happened first, the second Goryeo-Khitan war or the assassination of Wang Song?
Answer: 1009, he was assassinated

Question: In which battle was Gang Jo killed?
Answer: second one

Question: How many Goryeo-Khitan Wars were there?
Answer: 3

Question: How many years into the war did Seongjong die?
Answer: 4

Question: When was the first Goryeo-Khitan War
Answer: 993

Question: When was the last Goryeo-Khitan War?
Answer: 1018

Question: which battle did Liao win?
Answer: the second

Question: How many years seperated the first two Goryeo-Khitan wars?
Answer: 17

Question: How many years passed between the first and third Goryeo-Khitan war?
Answer: 25

Question: Which happened first, the First Goryeo-Khitan War or King Seongjon dying?
Answer: First Goryeo-Khitan War

Question: How many years was Wang Song king of Goryeo before he was assassinated?
Answer: 12

Question: How many years passed between the first and second Goryeo-Khitan Wars?
Answer: 25

Question: How many years after the start of the first Goryeo-Khitan War did King Seongjong die?
Answer: 4

Question: How did Wang Song die?
Answer: assassinated

Question: How many years passed between the deaths of King Seongjong and Wang Song?
Answer: 12