The society of Goryeo, at this point, was filled with trepidation, as the Yi Ja-gyeom incident led to the deaths of many and the royal palace was a burnt ruin. Externally, it was also facing pressure from the Jurchen Chin. At this juncture, the monk Myochong and Chung Ji-sang urged that the capital be moved to Seogyeong. Quoting the theories of geomancy, they argued that the virtue of the Gaeseong topography was depleted, and was the cause of chaos in the state. They asserted that moving the capital to Seogyeong would reinvigorate the dynasty, that the Chin would voluntarily abandon their aims for Goryeo and the many nations surrounding Goryeo would become their subjects. They also proposed that the king of Goryeo be declared an emperor and that the king should adopt the name of his own reign.
People of the time believed in the theories of geomancy, which meant that the destiny of an individual or a state is determined by the topography on which the house or the royal palace is built. Seogyeong had long been recognized as a place full of vigor. In accordance with these theories, King Injong sought to move the capital and build a royal palace in Seogyeong, but this plan was suspended following mounting opposition. As a result, Myochong and his supporters built a new state in Seogyeong and confronted the Goryeo state, which within one year fell to the government forces led by Kim Bu-sik, a faction from Gaegyeong.
Samguk Sagi, which is a historical record of the Three Kingdoms, is the oldest history book of Korea in existence today. It was compiled by Kim Bu-shik under orders from the king. Kim Bu-shik (1075~1151) lived in an era when society was in chaos from the Yi Ja-gyeom revolt, Myochong’s campaign to move the capital to Seogyeong, and Goryeo’s surrender to the Jurchen aggression. As the society became chaotic, King Injong and Kim Bu-shik, the highest ranking officials at the time, felt the need to restore the honor of the nation and restructure its ruling order. And thus came the compilation of the Samguk Sagi. The intellectuals of Goryeo at the time were ignorant of Korean history whereas they were knowledgeable on the history of China. Kim Bu-shik thus began to summarize the history of Korea throughout the Three Kingdoms period based on his historic views originating from Confucianism. While documenting the politics, wars and diplomacy of the Three Kingdoms, the book emphasized the Confucian virtues.