# Goryeo

Goryeo (Korean: 고려; Hanja: 高麗; MR: Koryŏ,; Middle Korean: 고ᇢ롕〮, romanized: kwòwlyéy) was a Korean state founded in 918, during a time of national division called the Later Three Kingdoms period, that unified and ruled the Korean Peninsula until the establishment of Joseon in 1392. Goryeo achieved what has been called a "true national unification" by Korean historians as it not only unified the Later Three Kingdoms but also incorporated much of the ruling class of the northern kingdom of Balhae, who had origins in Goguryeo of the earlier Three Kingdoms of Korea. According to Korean historians, it was during the Goryeo period that the individual identities of Goguryeo, Baekje and Silla were successfully merged into a single entity that became the basis of the modern-day Korean identity. The name "Korea" is derived from the name of Goryeo, also romanized as Koryŏ, which was first used in the early 5th century by Goguryeo; Goryeo was a successor state to Later Goguryeo and Goguryeo.
Throughout its existence, Goryeo, alongside Unified Silla, was known to be the "Golden Age of Buddhism" in Korea. As the state religion, Buddhism achieved its highest level of influence in Korean history, with 70 temples in the capital alone in the 11th century. Commerce flourished in Goryeo, with merchants coming from as far as the Middle East. The capital in modern-day Kaesong, North Korea was a center of trade and industry. Goryeo was a period of great achievements in Korean art and culture.
During its heyday, Goryeo constantly wrestled with northern empires such as the Liao (Khitans) and Jin (Jurchens). It was invaded by the Mongol Empire and became a vassal state of the Yuan dynasty in the 13th–14th centuries, but attacked the Yuan and reclaimed territories as the Yuan declined. This is considered by modern Korean scholars to be Goryeo's Northern Expansion Doctrine (북진 정책) to reclaim ancestral lands formerly owned by Goguryeo. As much as it valued education and culture, Goryeo was able to mobilize sizable military might during times of war. It fended off massive armies of the Red Turban Rebels from China and professional Japanese pirates in its twilight years of the 14th century. A final proposed attack against the Ming dynasty resulted in a coup d'état led by General Yi Sŏng-gye that ended the Goryeo dynasty.

## Etymology

The name "Goryeo" (고려; 高麗; Koryŏ), which is the source of the name "Korea", was originally used by Goguryeo (고구려; 高句麗; Koguryŏ) of the Three Kingdoms of Korea beginning in the early 5th century. Other attested variants of the name have also been recorded as Gori (高離/槀離/稾離) and Guryeo (句麗). There have been various speculations for the breakdown of Goguryeo as a name, the most common being go meaning "high", "noble" and guri meaning "castle", related to the word gol used during medieval Goryeo meaning "place". In 918, Goryeo was founded as the successor to Goguryeo and inherited its name. Historically, Goguryeo (37 BC–668 AD), Later Goguryeo (901–918), and Goryeo (918–1392) all used the name "Goryeo". Their historiographical names were implemented in the Samguk sagi in the 12th century. Goryeo also used the names Samhan and Haedong, meaning "East of the Sea".

## History

Part of a series on the :
History of Korea :
Prehistoric period Palaeolithic 700,000 BC-8000 BC Neolithic 8000 BC–1500 BC* Jeulmun Bronze Age 1500 BC–300 BC* Mumun* Liaoning dagger :
Ancient period Gojoseon 2333 BC–108 BC* Dangun* Gija* Wiman Jin 4th–2nd century BC Yemaek :
Proto–Three Kingdoms period
Takri
Dongye
Buyeo
Eastern
Galsa
Okjeo
Samhan
Ma
Byeon
Jin
Goguryeo
Tamna
Nakrang
Four Commanderies of Han :
Three Kingdoms period Goguryeo 37 BC–668 AD Baekje 18 BC–660 AD Silla 57 BC–935 AD Gaya confederacy 42–562 Tamna (Tributary of Baekje) 498–660 Usan 512–930 :
Northern and Southern period United Silla (Unified Silla) 668–892 Balhae 698–926 Little Goguryeo 699–820 Tamna (Tributary of Silla) 662–925 :
Later Three Kingdoms period Later Baekje 892–936 Taebong (Later Goguryeo) 901–918 Unified Silla (Later Silla) 892–935 Later Sabeol 919–927 Dongdan Kingdom 926–936 Later Balhae 927–935 Jeongan 938–986 :
Dynastic period Goryeo 918–1392 Tamna (Vassal of Goryeo) 938–1105 Heungyo 1029–1030 Joseon 1392–1897 Korean Empire 1897–1910 :
Colonial period Japanese occupation 1910–1945 Provisional Government 1919–1948 :
Modern period People's Republic of Korea 1945 Military governments 1945–1948 North-South division 1945–present* North 1948–present* South 1948–present :
By topic
Architecture
Art
Cuisine
Currency
Education
Geography
Historiography
Language
Military (List · Goguryeo)
Monarchs (Family tree)
Names (Era names)
Naval
Newspapers
Politics (Joseon · North · South)
Religion
Buddhism
Christianity
Islam
Science and technology
Women
World Heritage Sites (North · South) :
Timeline :
Korea portal :
vte :

### Founding

In the late 7th century, the kingdom of Silla unified the Three Kingdoms of Korea and entered a period known in historiography as "Unified Silla" or "Later Silla". Later Silla implemented a national policy of integrating Baekje and Goguryeo refugees called the "Unification of the Samhan", referring to the Three Kingdoms of Korea. Silla organized a new central army called the Guseodang (구서당; 九誓幢) that was divided into 3 units of Silla people, 3 units of Goguryeo people, 2 units of Baekje people, and 1 unit of Mohe people. However, the Baekje and Goguryeo refugees retained their respective collective consciousnesses and maintained a deep-seated resentment and hostility toward Silla. Later Silla was initially a period of peace, without a single foreign invasion for 200 years, and commerce, as it engaged in international trade from as distant as the Middle East and maintained maritime leadership in East Asia. Beginning in the late 8th century, Later Silla was undermined by instability because of political turbulence in the capital and class rigidity in the bone-rank system, leading to the weakening of the central government and the rise of the "hojok" (호족; 豪族) regional lords. The military officer Kyŏn Hwŏn revived Baekje in 892 with the descendants of the Baekje refugees, and the Buddhist monk Kung Ye revived Goguryeo in 901 with the descendants of the Goguryeo refugees; these states are called Later Baekje and Later Goguryeo in historiography, and together with Later Silla form the Later Three Kingdoms.
Later Goguryeo originated in the northern regions of Later Silla, which, along with its capital located in modern-day Kaesong, North Korea, were the strongholds of the Goguryeo refugees. Among the Goguryeo refugees was Wang Kŏn, a member of a prominent maritime hojok based in Kaesong, who traced his ancestry to a great clan of Goguryeo. Wang Kŏn entered military service under Kung Ye at the age of 19 in 896, before Later Goguryeo had been established, and over the years accumulated a series of victories over Later Baekje and gained the public's confidence. In particular, using his maritime abilities, he persistently attacked the coast of Later Baekje and occupied key points, including modern-day Naju. Kung Ye was unstable and cruel: he moved the capital to Cheorwon in 905, changed the name of his kingdom to Majin in 904 then Taebong in 911, changed his era name multiple times, proclaimed himself the Maitreya Buddha, claimed to read minds, and executed numerous subordinates and family members out of paranoia. In 918, Kung Ye was deposed by his own generals, and Wang Kŏn was raised to the throne. Wang Kŏn, who would posthumously be known by his temple name of Taejo or "Grand Progenitor", changed the name of his kingdom back to "Goryeo", adopted the era name of "Heaven's Mandate", and moved the capital back to his home of Kaesong. Goryeo regarded itself as the successor to Goguryeo and laid claim to Manchuria as its rightful legacy. One of Taejo's first decrees was to repopulate and defend the ancient Goguryeo capital of Pyongyang, which had been in ruins for a long time; afterward, he renamed it the "Western Capital", and before he died, he placed great importance on it in his Ten Injunctions to his descendants.

### Unification

In contrast to Kung Ye, who had harbored vengeful animosity toward Silla, Taejo (Wang Kŏn) was magnanimous toward the weakened kingdom. In 927, Kyŏn Hwŏn, who had vowed to avenge the last king of Baekje when he founded Later Baekje, sacked the capital of Later Silla, forced the king to commit suicide, and installed a puppet on the throne. Taejo came to Later Silla's aid but suffered a major defeat at the hand of Kyŏn Hwŏn near modern-day Daegu; Taejo barely escaped with his life thanks to the self-sacrifices of Generals Sin Sung-gyŏm and Kim Nak, and, thereafter, Later Baekje became the dominant military power of the Later Three Kingdoms. However, the balance of power shifted toward Goryeo with victories over Later Baekje in 930 and 934, and the peaceful annexation of Later Silla in 935. Taejo graciously accepted the capitulation of the last king of Silla and incorporated the ruling class of Later Silla. In 935, Kyŏn Hwŏn was removed from his throne by his eldest son over a succession dispute and imprisoned at the temple Geumsansa, but he escaped to Goryeo three months later and was deferentially received by his former archrival. In 936, upon Kyŏn Hwŏn's request, Taejo and Kyŏn Hwŏn conquered Later Baekje with an army of 87,500 soldiers, bringing an end to the Later Three Kingdoms period. Goryeo proceeded to incorporate a major portion of the Balhae people whose links to Goguryeo were shared with Goryeo, accepting most of their royalty and nobility in their fold.
Following the destruction of Balhae by the Khitan Liao dynasty in 927, the last crown prince of Balhae and much of the ruling class sought refuge in Goryeo, where they were warmly welcomed and given land by Taejo. In addition, Taejo included the Balhae crown prince in the Goryeo royal family, unifying the two successor states of Goguryeo and, according to Korean historians, achieving a "true national unification" of Korea. According to the Goryeosa jeolyo, the Balhae refugees who accompanied the crown prince numbered in the tens of thousands of households. As descendants of Goguryeo, the Balhae people and the Goryeo dynasts were related. Taejo felt a strong familial kinship with Balhae, calling it his "relative country" and "married country", and protected the Balhae refugees. This was in stark contrast to Later Silla, which had endured a hostile relationship with Balhae. Taejo displayed strong animosity toward the Khitans who had destroyed Balhae. The Liao dynasty sent 30 envoys with 50 camels as a gift in 942, but Taejo exiled the envoys to an island and starved the camels under a bridge, in what is known as the "Manbu Bridge Incident". Taejo proposed to Gaozu of Later Jin that they attack the Khitans in retribution for Balhae, according to the Zizhi Tongjian. Furthermore, in his Ten Injunctions to his descendants, he stated that the Khitans are "savage beasts" and should be guarded against.
Exodus en masse on part from the Balhae refugees would continue on at least until the early 12th century during the reign of King Yejong. Due to this constant massive influx of Balhae refugees, the Goguryeoic population in Goryeo is speculated to have become dominant in proportion compared to their Silla and Baekje counterparts that have experienced devastating war and political strife since the advent of the Later Three Kingdoms. By the end of the Later Three Kingdoms, territories populated by the original Silla people and considered that of "Silla proper" (原新羅) were reduced to Gyeongju and bits of the vicinity. Later Baekje fared only little better than Later Silla before its fall in 936. Meanwhile, of the three capitals of Goryeo, two were Kaesong and Pyongyang which were initially populated by Goguryeoic settlers from the Paeseo Region (패서; 浿西) and Balhae. Nonetheless, Goryeo proceeded to peacefully absorbing the ruling class of both countries and incorporated them under its bureaucracy; conducting political marriages and distributing positions according to their previous status in their respective countries. In contrast to Silla's bone-rank system, these open policies implemented by Wang Kŏn enabled Goryeo to enjoy a larger pool of highly skilled bureaucrats and technicians with the addition of those coming from Silla and Baekje; later on instilling a single agenda in terms of identity amongst its people. During the time of its existence, Goryeo also accepted a large amount of skilled workers from Medieval China and Tamna as well.

### Political reformation

Although Goryeo had unified the Korean Peninsula, the hojok regional lords remained quasi-independent within their walled domains and posed a threat to the monarchy. To secure political alliances, Taejo married 29 women from prominent hojok families, siring 25 sons and 9 daughters. His fourth son, Gwangjong, came to power in 949 to become the fourth ruler of Goryeo and instituted reforms to consolidate monarchical authority. In 956, Gwangjong freed the prisoners of war and refugees who had been enslaved by the hojok during the tumultuous Later Three Kingdoms period, in effect decreasing the power and influence of the regional nobility and increasing the population liable for taxation by the central government. In 958, advised by Shuang Ji, a naturalized Chinese official from the Later Zhou dynasty, Gwangjong implemented the gwageo civil service examinations, based primarily on the imperial examination of the Tang dynasty. This, too, was to consolidate monarchical authority. The gwageo remained an important institution in Korea until its abolition in 1894. In contrast to Goryeo's traditional "dual royal/imperial structure under which the ruler was at once king, emperor and Son of Heaven", according to Remco E. Breuker, Gwangjong used a "full-blown imperial system". All those who opposed or resisted his reforms were summarily purged.
Gwangjong's successor, Gyeongjong, instituted the "Stipend Land Law" in 976 to support the new central government bureaucracy established on the foundation of Gwangjong's reforms. The next ruler, Seongjong, secured centralization of government and laid the foundation for a centralized political order. Seongjong filled the bureaucracy with new bureaucrats, who as products of the gwageo civil service examinations were educated to be loyal to the state, and dispatched centrally-appointed officials to administrate the provinces. As a result, the monarch controlled much of the decision making, and his signature was required to implement important decisions. Seongjong supported Confucianism and, upon a proposal by the Confucian scholar Ch'oe Sŭng-no, the separation of government and religion. In addition, Seongjong laid the foundation for Goryeo's educational system: he founded the Gukjagam national university in 992, supplementing the schools already established in Kaesong and Pyongyang by Taejo, and national libraries and archives in Kaesong and Pyongyang that contained tens of thousands of books.

### Goryeo–Khitan War

Following the "Manbu Bridge Incident" of 942, Goryeo prepared itself for a conflict with the Khitan Empire: Jeongjong established a military reserve force of 300,000 soldiers called the "Resplendent Army" in 947, and Gwangjong built fortresses north of the Chongchon River, expanding toward the Yalu River. However an attempt to control the Yalu River basin in 984 failed due to conflict with the Jurchens. The Khitans considered Goryeo a potential threat and, with tensions rising, invaded in 993. The Jurchens warned Goryeo of the invasion twice. At first Goryeo did not believe the information but came around upon the second warning and took up a defensive strategy. The Koreans were defeated in their first encounter with the Khitans, but successfully halted their advance at Anyung-jin (in modern Anju, South Pyongan Province) at the Chongchon River. Negotiations began between the Goryeo commander, Sŏ Hŭi, and the Liao commander, Xiao Sunning. In conclusion, Goryeo entered a nominal tributary relationship with Liao, severing relations with Song, and Liao recognized Goryeo sovereignty to the land east of the Yalu River. Goryeo was left free to deal with the Jurchens south of the Yalu and in 994-996, Sŏ Hŭi led an army into the area and built forts. Afterward, Goryeo established the "Six Garrison Settlements East of the River" in its new territory. In 994, Goryeo proposed to Song a joint military attack on Liao, but was declined; previously, in 985, when Song had proposed a joint military attack on Liao, Goryeo had declined. For a time, Goryeo and Liao enjoyed an amicable relationship. In 996, Seongjong married a Liao princess.
As the Khitan Empire expanded and became more powerful, it demanded that Goryeo cede the Six Garrison Settlements, but Goryeo refused. In 1009, Kang Cho staged a coup d'état, assassinating Mokjong and installing Hyeonjong on the throne. Goryeo sent an envoy to the Khitans telling them that the previous king had died and a new king had ascended the throne. In the following year, some Jurchen tribesmen who had been in conflict with Goryeo fled to the Khitans and told them of the coup. Under the pretext of avenging Mokjong, Emperor Shengzong of Liao led an invasion of Goryeo with an army of 400,000 soldiers. Meanwhile, Goryeo tried to establish relations with Song but was ignored, as Song had agreed to the Chanyuan Treaty in 1005. Goryeo gathered a 300,000 strong army under Kang Cho. In the first battle, the Goryeo forces led by Yang Kyu won a victory against the Liao. The Liao decided to split up their forces with one part heading south. The Goryeo army under the leadership of Kang Cho lost the second battle and suffered heavy casualties. The army was dispersed and many commanders were captured or killed, including Kang Cho himself. Later, Pyongyang was successfully defended, but the Liao army marched toward Kaesong.
Hyeonjong, upon the advice of Kang Kam-ch'an, evacuated south to Naju. Shortly afterward, the Liao won a pitched battle outside Kaesong and sacked the city. He then sent Ha Kongjin [ko] and Ko Yŏnggi to sue for peace, with a promise that he would pay homage in person to the Liao emperor. The Khitans, who were sustaining attacks from previously surrendered districts and the regrouped Korean army which disrupted their supply lines, accepted and began their withdrawal. The Liao army became bogged down in the mountains during the winter and had to abandon much of their armour. The Khitans were ceaselessly attacked during their withdrawal; Yang Kyu rescued from over 10,000 to over 30,000 prisoners of war, but died in battle. According to the Goryeosa, due to continued attacks and heavy rain, the Khitan army was devastated and lost its weapons crossing the Yalu. They were attacked while crossing the Yalu River and many drowned. Afterward, Hyeonjong did not fulfill his promise to pay homage in person to the Liao emperor, and when demanded to cede the Six Garrison Settlements, he refused.
The Khitans built a bridge across the Yalu River in 1014 and attacked in 1015, 1016, and 1017: victory went to the Koreans in 1015, the Khitans in 1016, and the Koreans in 1017. Goryeo lost the Poju (Uiju) region. In 1018, Liao launched an invasion led by Xiao Paiya, the older brother of Xiao Sunning, with an army of 100,000 soldiers. The Liao army tried to head straight for Kaesong. Goryeo gathered an army of 208,000 under Kang Kam-ch'an and ambushed and Liao army, which suffered heavy casualties. The Goryeo commander Kang Kam-ch'an had dammed a large tributary of the Yalu River and released the water on the unsuspecting Khitan soldiers, who were then charged by 12,000 elite cavalry. The Liao army pushed on toward Kaesong under constant enemy harassment. After arriving within the vicinity of the well-defended capital, a contingent of 300 cavalry sent as scouts was annihilated, upon which the Liao army decided to withdraw. The Liao troops soldiered on and headed toward the capital, but were met with stiff resistance and constant attacks, and were forced to retreat back north. During the retreat, 10,000 Liao army troops were annihilated by the Goryeo army under Kang Minch'ŏm [ko] of Goryeo. The retreating Liao army was intercepted by Kang Kam-ch'an in modern-day Kusong and suffered a major defeat, with only a few thousand soldiers escaping.
Shengzong intended to invade again and amassed another large expeditionary army in 1019 but faced internal opposition. In 1020, Goryeo sent tribute and Liao accepted, thus resuming nominal tributary relations. Shengzong did not demand that Hyeonjong pay homage in person or cede the Six Garrison Settlements. The only peace treaty stipulations formalized in 1022 were a "declaration of vassalage" and the release of a detained Liao envoy. A Liao envoy was sent in the same year to formally invest the Goryeo king and upon his death in 1031, his successor Wang Hŭm was also invested as king by the Liao. After 1022, Goryeo did not have diplomatic relations with the Song until 1070, with the exception of an isolated embassy in 1030. The sole embassy was probably related to the rebellion of Balhae people in the Liao dynasty. The rebellion was quickly defeated by the Khitans, who returned to enforce Goryeo's tributary obligations. Goryeo adopted the reign title of the Liao in the fourth month of 1022. The History of Liao claims that Hyeonjong "surrendered" and Shengzong "pardoned" him, but according to Hans Bielenstein, "[s]horn of its dynastic language, this means no more than that the two states concluded peace as equal partners (formalized in 1022)". Bielenstein claims that Hyeonjong kept his reign title and maintained diplomatic relations with the Song dynasty.
Kaesong was rebuilt, grander than before, and, from 1033 to 1044, the Cheolli Jangseong, a wall stretching from the mouth of the Yalu River to the east coast of the Korean Peninsula, was built for defense against future invasions. Liao never invaded Goryeo again.

### Golden age

Following the Goryeo–Khitan War, a balance of power was established in East Asia between Goryeo, Liao, and Song. With its victory over Liao, Goryeo was confident in its military ability and no longer worried about a Khitan military threat. Fu Bi, a grand councilor of the Song dynasty, had a high estimate of Goryeo's military ability and said that Liao was afraid of Goryeo. Furthermore, regarding the attitude of the Koreans, he said: "Among the many tribes and peoples which, depending on their power of resistance, have been either assimilated or made tributary to the Khitan, the Koreans alone do not bow their heads." Song regarded Goryeo as a potential military ally and maintained friendly relations as equal partners. Meanwhile, Liao sought to build closer ties with Goryeo and prevent a Song–Goryeo military alliance by appealing to Goryeo's infatuation with Buddhism, and offered Liao Buddhist knowledge and artifacts to Goryeo. During the 11th century, Goryeo was viewed as "the state that could give either the Song or Liao military ascendancy". When imperial envoys, who represented the emperors of Liao and Song, went to Goryeo, they were received as peers, not suzerains. Goryeo's international reputation was greatly enhanced. Beginning in 1034, merchants from Song and envoys from various Jurchen tribes and the Tamna kingdom attended the annual Palgwanhoe in Kaesong, the largest national celebration in Goryeo; the Song merchants attended as representatives of China while the Jurchen and Tamna envoys attended as members of Goryeo's tianxia. During the reign of Munjong, the Heishui Mohe and Japan, among many others, attended as well. The Tamna kingdom of Jeju Island was incorporated into Goryeo in 1105.
Goryeo's golden age lasted about 100 years into the early 12th century and was a period of commercial, intellectual, and artistic achievement. The capital was a center of trade and industry, and its merchants developed one of the earliest systems of double-entry bookkeeping in the world, called the sagae chibubeop, that was used until 1920. The Goryeosa records the arrival of merchants from Arabia in 1024, 1025, and 1040, and hundreds of merchants from Song each year, beginning in the 1030s. There were developments in printing and publishing, spreading the knowledge of philosophy, literature, religion, and science. Goryeo prolifically published and imported books, and by the late 11th century, exported books to China; the Song dynasty transcribed thousands of Korean books. The first Tripitaka Koreana, amounting to about 6,000 volumes, was completed in 1087. The Munheon gongdo private academy was established in 1055 by Ch'oe Ch'ung, who is known as the "Haedong Confucius", and soon afterward there were 12 private academies in Goryeo that rivaled the Gukjagam national university. In response, several Goryeo rulers reformed and revitalized the national education system, producing prominent scholars such as Kim Pu-sik. In 1101, the Seojeokpo printing bureau was established at the Gukjagam. In the early 12th century, local schools called hyanghak were established. Goryeo's reverence for learning is attested to in the Gaoli tujing, or Goryeo dogyeong, a book by an envoy from the Song dynasty who visited Goryeo in 1123. The reign of Munjong, from 1046 to 1083, was called a "Reign of Peace" (태평성대; 太平聖代) and is considered the most prosperous and peaceful period in Goryeo history. Munjong was highly praised and described as "benevolent" and "holy" (賢聖之君) in the Goryeosa. In addition, he achieved the epitome of cultural blossoming in Goryeo. Munjong had 13 sons: the three eldest succeeded him on the throne, and the fourth was the prominent Buddhist monk Uicheon.
Goryeo was a period of great achievements in Korean art and culture, such as Koryŏ celadon, which was highly praised in the Song dynasty, and the Tripitaka Koreana, which was described by UNESCO as "one of the most important and most complete corpus of Buddhist doctrinal texts in the world", with the original 81,258 engraved printing blocks still preserved at the temple Haeinsa. In the early 13th century, Goryeo developed movable type made of metal to print books, 200 years before Johannes Gutenberg in Europe.

### Goryeo-Jurchen War

The Jurchens in the Yalu River region were tributaries of Goryeo since the reign of Taejo of Goryeo (r. 918-943), who called upon them during the wars of the Later Three Kingdoms period. Taejo relied heavily on a large Jurchen cavalry force to defeat Later Baekje. The Jurchens switched allegiances between Liao and Goryeo multiple times depending on which they deemed the most appropriate. The Liao and Goryeo competed to gain the allegiance of Jurchen settlers who effectively controlled much of the border area beyond Goryeo and Liao fortifications. These Jurchens offered tribute but expected to be rewarded richly by the Goryeo court in return. However the Jurchens who offered tribute were often the same ones who raided Goryeo's borders. In one instance, the Goryeo court discovered that a Jurchen leader who had brought tribute had been behind the recent raids on their territory. The frontier was largely outside of direct control and lavish gifts were doled out as a means of controlling the Jurchens. Sometimes Jurchens submitted to Goryeo and were given citizenship. Goryeo inhabitants were forbidden from trading with Jurchens.
The tributary relations between Jurchens and Goryeo began to change under the reign of Jurchen leader Wuyashu (r. 1103–1113) of the Wanyan clan. The Wanyan clan was intimately aware of the Jurchens who had submitted to Goryeo and used their power to break the clans' allegiance to Goryeo, unifying the Jurchens. The resulting conflict between the two powers led to Goryeo's withdrawal from Jurchen territory and acknowledgment of Jurchen control over the contested region.
As the geopolitical situation shifted, Goryeo unleashed a series of military campaigns in the early 12th century to regain control of its borderlands. Goryeo had already been in conflict with the Jurchens before. In 984, Goryeo failed to control the Yalu River basin due to conflict with the Jurchens. In 1056, Goryeo repelled the Eastern Jurchens and afterward destroyed their stronghold of over 20 villages. In 1080, Munjong of Goryeo led a force of 30,000 to conquer ten villages. However by the rise of the Wanyan clan, the quality of Goryeo's army had degraded and it mostly consisted of infantry. There were several clashes with the Jurchens, usually resulting in Jurchen victory with their mounted cavalrymen. In 1104, the Wanyan Jurchens reached Chongju while pursuing tribes resisting them. Goryeo sent Im Gan to confront the Jurchens, but his untrained army was defeated, and the Jurchens took Chongju castle. Im Gan was dismissed from office and reinstated, dying as a civil servant in 1112. The war effort was taken up by Yun Kwan, but the situation was unfavorable and he returned after making peace.
Yun Kwan believed that the loss was due to their inferior cavalry and proposed to the king that an elite force known as the Byeolmuban (別武班; "Special Warfare Army") be created. It existed apart from the main army and was made up of cavalry, infantry, and a Hangmagun ("Subdue Demon Corps"). In December 1107, Yun Kwan and O Yŏnch'ong set out with 170,000 soldiers to conquer the Jurchens. The army won against the Jurchens and built Nine Fortresses over a wide area on the frontier encompassing Jurchen tribal lands, and erected a monument to mark the boundary. However due to unceasing Jurchen attacks, diplomatic appeals, and court intrigue, the Nine Fortresses were handed back to the Jurchens. In 1108, Yun Kwan was removed from office and the Nine Fortresses were turned over to the Wanyan clan. It is plausible that the Jurchens and Goryeo had some sort of implicit understanding where the Jurchens would cease their attacks while Goryeo took advantage of the conflict between the Jurchens and Khitans to gain territory. According to Breuker, Goryeo never really had control of the region occupied by the Nine Fortresses in the first place and maintaining hegemony would have meant a prolonged conflict with militarily superior Jurchen troops that would prove very costly. The Nine Fortresses were exchanged for Poju (Uiju), a region the Jurchens later contested when Goryeo hesitated to recognize them as their suzerain.
Later, Wuyashu's younger brother Aguda founded the Jin dynasty (1115–1234). When the Jin was founded, the Jurchens called Goryeo their "parent country" or "father and mother" country. This was because it had traditionally been part of their system of tributary relations, its rhetoric, advanced culture, as well as the idea that it was "bastard offspring of Koryŏ". The Jin also believed that they shared a common ancestry with the Balhae people in the Liao dynasty. The Jin went on to conquer the Liao dynasty in 1125 and capture the Song capital of Kaifeng in 1127 (Jingkang incident). The Jin also put pressure on Goryeo and demanded that Goryeo become their subject. While many in Goryeo were against this, Yi Cha-gyŏm was in power at the time and judged peaceful relations with the Jin to be beneficial to his own political power. He accepted the Jin demands and in 1126, the king of Goryeo declared himself a Jin vassal (tributary). However the Goryeo king retained his position as "Son of Heaven" within Goryeo. By incorporating Jurchen history into that of Goryeo and emphasizing the Jin emperors as bastard offspring of Goryeo, and placing the Jin within the template of a "northern dynasty", the imposition of Jin suzerainty became more acceptable.

### Power struggles

The Inju Yi clan married women to the kings from the time of Munjong to the 17th King, Injong. Eventually the Inju Yi clan gained more power than the monarch himself. This led to the coup of Yi Cha-gyŏm in 1126. It failed, but the power of the monarch was weakened; Goryeo underwent a civil war among the nobility.
In 1135, Myocheong argued in favor of moving the capital to Seogyeong (now Pyongyang). This proposal divided the nobles. One faction, led by Myocheong, believed in moving the capital to Pyongyang and expanding into Manchuria. The other one, led by Kim Pu-sik (author of the Samguk sagi), wanted to keep the status quo. Myocheong failed to persuade the king; he rebelled and established the state of Daebang, but it failed and he was killed.

### Military regime

Although Goryeo was founded by the military, its authority was in decline. In 1014, a coup occurred but the effects of the rebellion did not last long, only making generals discontent with the current supremacy of the civilian officers.
In addition, under the reign of King Uijong, military officers were prohibited from entering the Security Council, and even at times of state emergency, they were not allowed to assume commands. After political chaos, Uijong started to enjoy traveling to local temples and studying sutra, while he was almost always accompanied by a large group of civilian officers. The military officers were largely ignored and were even mobilized to construct temples and ponds.
Beginning in 1170, the government of Goryeo was de facto controlled by a succession of powerful families from the warrior class, most notably the Ch'oe family, in a military dictatorship akin to a shogunate.
In 1170, a group of army officers led by Chŏng Chung-bu, Yi Ŭi-bang and Yi Ko launched a coup d'état and succeeded. King Uijong went into exile and King Myeongjong was placed on the throne. Effective power, however, lay with a succession of generals who used an elite guard unit known as the Tobang to control the throne: military rule of Goryeo had begun. In 1179, the young general Kyŏng Tae-sŭng rose to power and began an attempt to restore the full power of the monarch and purge the corruption of the state.
However, he died in 1183 and was succeeded by Yi Ŭi-min, who came from a nobi (slave) background. During this period, despite nearly three centuries of Goryeo rule, loyalty to the old Silla kingdom and Silla traditions remained latent in the Kyŏngju area. There were multiple rebellions by the Silla restoration movement to overthrow Goryeo's rule over the Sillan people. Yi's unrestrained corruption and cruelty led to a coup by general Ch'oe Ch'ung-hŏn, who assassinated Yi Ui-min and took supreme power in 1197. For the next 61 years, the Ch'oe house ruled as military dictators, maintaining the Kings as puppet monarchs; Ch'oe Ch'ung-hŏn was succeeded in turn by his son Ch'oe U, his grandson Ch'oe Hang and his great-grandson Ch'oe Ŭi.
When he took control, Ch'oe Ch'ung-hŏn forced Myeongjong off the throne and replaced him with King Sinjong. What was different from former military leaders was the active involvement of scholars in Ch'oe's control, notably Prime Minister Yi Kyu-bo who was a Confucian scholar-official.
After Sinjong died, Ch'oe forced his son to the throne as Huijong. After 7 years, Huijong led a revolt but failed. Then, Ch'oe found the pliable King Gojong instead.
Although the House of Ch'oe established strong private individuals loyal to it, continuous invasion by the Mongols ravaged the whole land, resulting in a weakened defense ability, and also the power of the military regime waned.

### Mongol invasions and Yuan domination

Fleeing from the Mongols, in 1216 the Khitans invaded Goryeo and defeated the Korean armies multiple times, even reaching the gates of the capital and raiding deep into the south, but were defeated by Korean General Kim Ch'wi-ryŏ (김취려; 金就礪) who pushed them back north to Pyongan, where the remaining Khitans were finished off by allied Mongol-Goryeo forces in 1219.
Tension continued through the 12th century and into the 13th century, when the Mongol invasions started. After nearly 30 years of warfare, Goryeo swore allegiance to the Mongols, with the direct dynastic rule of Goryeo monarchy.
In 1231, Mongols under Ögedei Khan invaded Goryeo following the aftermath of joint Goryeo-Mongol forces against the Khitans in 1219. The royal court moved to Ganghwado in the Bay of Gyeonggi in 1232. The military ruler of the time, Ch'oe U, insisted on fighting back. Goryeo resisted for about 30 years but finally sued for peace in 1259.
Meanwhile, the Mongols began a campaign from 1231 to 1259 that ravaged parts of Gyeongsang and Jeolla. There were six major campaigns: 1231, 1232, 1235, 1238, 1247, 1253; between 1253 and 1258, the Mongols under Möngke Khan's general Jalairtai Qorchi launched four devastating invasions against Korea at tremendous cost to civilian lives throughout the Korean peninsula.
Civilian resistance was strong, and the Imperial Court at Ganghwa attempted to strengthen its fortress. Korea won several victories but the Korean military could not withstand the waves of invasions. The repeated Mongol invasions caused havoc, loss of human lives and famine in Korea. In 1236, Gojong ordered the recreation of the Tripitaka Koreana, which was destroyed during the 1232 invasion. This collection of Buddhist scriptures took 15 years to carve on some 81,000 wooden blocks, and is preserved to this day.
In March 1258, the dictator Ch'oe Ŭi was assassinated by Kim Chun. Thus, dictatorship by his military group was ended, and the scholars who had insisted on peace with Mongolia gained power. Goryeo was never conquered by the Mongols, but exhausted after decades of fighting, Goryeo sent Crown Prince Wonjong to the Yuan capital to swear allegiance to the Mongols; Kublai Khan accepted, and married one of his daughters to the Korean crown prince. Khubilai, who became khan of the Mongols and emperor of China in 1260, did not impose direct rule over most of Goryeo. Goryeo Korea, in contrast to Song China, was treated more like an Inner Asian power. The dynasty was allowed to survive, and intermarriage with Mongols was encouraged, even with the Mongol imperial family, while the marriage between Chinese and Mongols was strictly forbidden when the Song dynasty was ended. Some military officials who refused to surrender formed the Sambyeolcho Rebellion and resisted in the islands off the southern shore of the Korean Peninsula.

### Late period

After 1270 Goryeo became a semi-autonomous client state of the Yuan dynasty. The Mongols and the Kingdom of Goryeo tied with marriages and Goryeo became khuda (marriage alliance) vassal of the Yuan dynasty for about 80 years and monarchs of Goryeo were mainly imperial sons in-law (khuregen). The two nations became intertwined for 80 years as all subsequent Korean kings married Mongol princesses, and the last empress of the Yuan dynasty, Empress Gi, was a daughter of a Goryeo lower-ranked official; Empress Gi was sent to Yuan as one of the many kongnyŏ (貢女; lit. 'tribute women', who were in effects slaves sent over as a sign of Goryeo submission to the Mongols) and became empress in 1365. Empress Gi had great political influence both the Yuan and the Goryeo court, and even manage to significantly increase the status and influence of her family members, including her father who was formally made into a king in the Yuan and her brother Gi Cheol who at some point manage to get more authority than the Goryeo king. In 1356, King Gongmin purged the family of Empress Gi. The kings of Goryeo held an important status like other important families of Mardin, the Uyghurs and Mongols (Oirats, Khongirad, and Ikeres). It is claimed that one of Goryeo monarchs was the most beloved grandson of Kublai Khan.
The Goryeo dynasty survived under the Yuan until King Gongmin began to push the Mongolian garrisons of the Yuan back in the 1350s. By 1356 Goryeo regained its lost northern territories.

### Last reform

When King Gongmin ascended to the throne, Goryeo was under the influence of the Mongol Yuan China. He was forced to spend many years at the Yuan court, being sent there in 1341 as a virtual prisoner before becoming king. He married the Mongol princess Princess Noguk (also known as Queen Indeok). But in the mid-14th century the Yuan was beginning to crumble, soon to be replaced by the Ming dynasty in 1368. King Gongmin began efforts to reform the Goryeo government and remove Mongolian influences.
His first act was to remove all pro-Mongol aristocrats and military officers from their positions. Mongols had annexed the northern provinces of Goryeo after the invasions and incorporated them into their empire as the Ssangseong and Dongnyeong Prefectures. The Goryeo army retook these provinces partly thanks to defection from Yi Cha-ch'un, a minor Korean official in service of Mongols in Ssangseong, and his son Yi Sŏng-gye. In addition, Generals Yi Sŏng-gye and Chi Yong-su (지용수; 池龍壽) led a campaign into Liaoyang.
After the death of Gongmin's wife Noguk in 1365, he fell into depression. In the end, he became indifferent to politics and entrusted that great task to the Buddhist monk Sin Ton. But after six years, Sin Ton lost his position. In 1374, Gongmin was killed by Hong Ryun (홍륜), Ch'oe Man-saeng (최만생), and others.
After his death, a high official Yi In-im assumed the helm of the government and enthroned eleven-year-old, King U, the son of King Gongmin.
During this tumultuous period, Goryeo momentarily conquered Liaoyang in 1356, repulsed two large invasions by the Red Turbans in 1359 and 1360, and defeated the final attempt by the Yuan to dominate Goryeo when General Ch'oe Yŏng defeated an invading Mongol tumen in 1364. During the 1380s, Goryeo turned its attention to the Wokou menace and used naval artillery created by Ch'oe Mu-sŏn to annihilate hundreds of pirate ships.

### Fall

In 1388, King U (son of King Gongmin and a concubine) and general Ch'oe Yŏng planned a campaign to invade now Liaoning of China. King U put the general Yi Sŏng-gye (later Taejo) in charge, but he stopped at the border and rebelled.
Goryeo fell to General Yi Sŏng-gye, who put to death the last three Goryeo kings, usurped the throne, and established in 1392 the Joseon dynasty.

## Government

   [U]ntil 1270, when Koryŏ capitulated to the Mongols after thirty years of resistance, early Koryŏ rulers and most of its officials had held a "pluralist" (tawŏnjŏk) outlook that recognized greater and equal empires in China and in Manchuria, while positing Koryŏ as the center of a separate and bounded world ruled by the Koryŏ emperor, who claimed a ritual status reserved for the Son of Heaven.
Goryeo positioned itself at the center of its own "world" (천하; 天下) called "Haedong". Haedong, meaning "East of the Sea", was a distinct and independent world that encompassed the historical domain of the "Samhan", another name for the Three Kingdoms of Korea. The rulers of Goryeo, or Haedong, used the titles of emperor and Son of Heaven. Imperial titles were used since the founding of Goryeo, and the last king of Silla addressed Wang Geon as the Son of Heaven when he capitulated. Posthumously, temple names with the imperial characters of progenitor (조; 祖) and ancestor (종; 宗) were used. Imperial designations and terminology were widely used, such as "empress", "imperial crown prince", "imperial edict", and "imperial palace".
The rulers of Goryeo donned imperial yellow clothing, made sacrifices to Heaven, and invested sons as kings. Goryeo used the Three Departments and Six Ministries imperial system of the Tang dynasty and had its own "microtributary system" that included Jurchen tribes outside its borders. The military of Goryeo was organized into 5 armies, like an empire, as opposed to 3, like a kingdom. Goryeo maintained multiple capitals: the main capital "Gaegyeong" (also called "Hwangdo" or "Imperial Capital") in modern-day Kaesong, the "Western Capital" in modern-day Pyongyang, the "Eastern Capital" in modern-day Gyeongju, and the "Southern Capital" in modern-day Seoul. The main capital and main palace were designed and intended to be an imperial capital and imperial palace. The secondary capitals represented the capitals of the Three Kingdoms of Korea.
The Song, Liao, and Jin dynasties were all well informed of, and tolerated, Goryeo's imperial claims and practices. According to Henry Em, "[a]t times Song reception rituals for Koryŏ envoys and Koryŏ reception rituals for imperial envoys from Song, Liao, and Jin suggested equal rather than hierarchical relations". In 1270, Goryeo capitulated to the Mongols and became a semi-autonomous "son-in-law state" (부마국; 駙馬國) of the Yuan dynasty, bringing an end to its imperial system. The Yuan dynasty demoted the imperial titles of Goryeo and added "chung" (충; 忠), meaning "loyalty", to the temple names of Goryeo kings, beginning with Chungnyeol. This continued until the mid-14th century, when Gongmin declared independence.

### Military

The military comprises both the army and the navy. Military leaders were appointed by Kings/Emperors.

### Regional administration
## Foreign relations

Goryeo affiliated itself with the successive short-lived Five Dynasties beginning with the Shatuo Later Tang dynasty in 933, and Taejo was acknowledged as the legitimate successor to Dongmyeong of Goguryeo.
In 962, Goryeo entered relations with the nascent Song dynasty. Song did not have real suzerainty over Goryeo, and Goryeo sent tribute mainly for the sake of trade. Later, Goryeo entered nominal tributary relations with the Khitan Liao dynasty then the Jurchen Jin dynasty while maintaining trade and unofficial relations with the Song dynasty. The Korean missions to China were intended to seek knowledge on fields such as Confucianism, Buddhism, history, and other subjects, conduct diplomacy, and trade. Missions to the Song in 976, 986, and after 1105 stayed there for study. Goryeo requested texts from the Song in 991, 993, 1019, 1021, 1073, 1074, 1092, and after 1105. They also brought texts to China. Diplomatic missions were conducted to announce birthdays, deaths, and successions. Trade, in particular, was an important aspect of all the missions. Annual tribute was expected to be exchanged for proper payment. In 1093, Su Shi suggested that Goryeo envoys should stick to trade in commercial products such as silk and hair instead of books. Sometimes missions were sent even though they would not be received to conduct trade.
The Five Dynasties, Song dynasty, and Jin dynasty pretended that Goryeo was a tributary vassal. However this was a fiction. The Five Dynasties and the Song did not share a border with Goryeo and had no way to assert supremacy over it. The Liao invasions of Goryeo from 993 to 1020 were successfully repelled. The Jin made no similar effort against Goryeo. Goryeo was not a vassal to these powers and successfully stood up to Liao and Jin through clever diplomacy and minimal appeasement. Goryeo was autonomous until Mongol rule. Sinologist Hans Bielenstein described the nature of Goryeo's nominal tributary relations with the dynasties in China:
   The Five Dynasties, Sung, Liao, and Chin all liked to pretend that Koryŏ was a tributary vassal. Nothing could be more wrong. The Five Dynasties and Sung had no common border with Koryŏ and no way, even if they had possessed the military resources, to assert any supremacy over it. The Liao invasions of Koryŏ from 993 to 1020 were successfully repelled by the Koreans. The Chin made no serious attempts against Koryŏ. The dynastic historians accepted nevertheless the official fiction and referred to Koryŏ by an unrealistic terminology. To repeat, Koryŏ was not a vassal with tributary duties to the Five Dynasties, Sung, Liao, and Chin. In spite of its smaller size, it was able to stand up to Liao and Chin, and did not have to buy peace. This required clever diplomacy and a minimum of appeasement. In spite of window-dressing, rhetorics, and even a pinch of nostalgia for the good old times of Korean-Chinese friendship, Koryŏ succeeded in keeping its autonomy until the advent of the Mongols.
In 1270, Goryeo capitulated to the Yuan dynasty, which exercised a powerful influence over Goryeo affairs and the succession of Goryeo kings. Goryeo remained under the Yuan dynasty until the mid-14th century.
Goryeo used multiple calendars. In 938, it used the Later Jin calendar, in 948 Later Han, in 952 Later Zhou, in 963 Song, in 994 Liao, in 1016 Song, and in 1022 Liao. In 1136, Goryeo was presented with a Jin calendar. It is possible that Goryeo used different calendars simultaneously depending on which country they dealt with.

## Society
### Nobility

At the time of Goryeo, Korean nobility was divided into 6 classes.
* Gukgong (국공; 國公), duke of a nation
* Gungong (군공; 郡公), duke of a county
* Hyeonhu (현후; 縣侯), marquis of a town
* Hyeonbaek (현백; 縣伯), count of a town
* Gaegukja (개국자; 開國子) or hyeonja (현자; 縣子), viscount of a town
* Hyeonnam (현남; 縣男), baron of a town
Also the title taeja (태자; 太子) was given to sons of monarch. In most other east Asian countries this title meant crown prince. Taeja was similar to daegun (대군; 大君) or gun (군; 君) of Joseon.

### Religion
#### Buddhism

Buddhism in medieval Korea evolved in ways which rallied support for the state.
Initially, the new Seon schools were regarded by the established doctrinal schools as radical and dangerous upstarts. Thus, the early founders of the various "nine mountain" monasteries met with considerable resistance, repressed by the long influence in court of the Gyo schools. The struggles which ensued continued for most of the Goryeo period, but gradually the Seon argument for the possession of the true transmission of enlightenment would gain the upper hand. The position that was generally adopted in the later Seon schools, due in large part to the efforts of Jinul, did not claim clear superiority of Seon meditational methods, but rather declared the intrinsic unity and similarities of the Seon and Gyo viewpoints. Although all these schools are mentioned in historical records, toward the end of the dynasty, Seon became dominant in its effect on the government and society, and the production of noteworthy scholars and adepts. During the Goryeo period, Seon thoroughly became a "religion of the state," receiving extensive support and privileges through connections with the ruling family and powerful members of the court. Although Buddhist predominated, taoism was practiced in some temples, as was shamanism.
Although most of the scholastic schools waned in activity and influence during this period of the growth of Seon, the Hwaeom school continued to be a lively source of scholarship well into the Goryeo, much of it continuing the legacy of Uisang and Wonhyo. In particular the work of Gyunyeo (均如; 923–973) prepared for the reconciliation of Hwaeom and Seon, with Hwaeom's accommodating attitude toward the latter. Gyunyeo's works are an important source for modern scholarship in identifying the distinctive nature of Korean Hwaeom.
Another important advocate of Seon/Gyo unity was Uicheon. Like most other early Goryeo monks, he began his studies in Buddhism with the Hwaeom school. He later traveled to China, and upon his return, actively promulgated the Cheontae (天台宗, or Tiantai in Chinese) teachings, which became recognized as another Seon school. This period thus came to be described as "five doctrinal and two meditational schools" (Ogyo Yangjong). Uicheon himself, however, alienated too many Seon adherents, and he died at a relatively young age without seeing a Seon-Gyo unity accomplished.
The most important figure of Seon in the Goryeo was Jinul (知訥; 1158–1210). In his time, the sangha was in a crisis of external appearance and internal issues of doctrine. Buddhism had gradually become infected by secular tendencies and involvements, such as fortune-telling and the offering of prayers and rituals for success in secular endeavors. This kind of corruption resulted in the profusion of increasingly larger numbers of monks and nuns with questionable motivations. Therefore, the correction, revival, and improvement of the quality of Buddhism were prominent issues for Buddhist leaders of the period.
Jinul sought to establish a new movement within Korean Seon, which he called the "samādhi and prajñā society", whose goal was to establish a new community of disciplined, pure-minded practitioners deep in the mountains. He eventually accomplished this mission with the founding of the Seonggwangsa monastery at Mt. Jogye (曹溪山). Jinul's works are characterized by a thorough analysis and reformulation of the methodologies of Seon study and practice. One major issue that had long fermented in Chinese Seon, and which received special focus from Jinul, was the relationship between "gradual" and "sudden" methods in practice and enlightenment. Drawing upon various Chinese treatments of this topic, most importantly those by Zongmi (780–841) and Dahui (大慧; 1089–1163), Jinul created a "sudden enlightenment followed by gradual practice" dictum, which he outlined in a few relatively concise and accessible texts. From Dahui, Jinul also incorporated the gwanhwa (觀話) method into his practice. This form of meditation is the main method taught in Korean Seon today. Jinul's philosophical resolution of the Seon-Gyo conflict brought a deep and lasting effect on Korean Buddhism.
The general trend of Buddhism in the latter half of the Goryeo was a decline due to corruption, and the rise of strong anti-Buddhist political and philosophical sentiment. However, this period of relative decadence would nevertheless produce some of Korea's most renowned Seon masters. Three important monks of this period who figured prominently in charting the future course of Korean Seon were contemporaries and friends: Gyeonghan Baeg'un (景閑白雲; 1298–1374), Taego Bou (太古普愚; 1301–1382) and Naong Hyegeun (懶翁慧勤; 1320–1376). All three went to Yuan China to learn the Linji (臨濟 or Imje in Korean) gwanhwa teaching that had been popularized by Jinul. All three returned, and established the sharp, confrontational methods of the Imje school in their own teaching. Each of the three was also said to have had hundreds of disciples, such that this new infusion into Korean Seon brought about considerable effect. Despite the Imje influence, which was generally considered to be anti-scholarly in nature, Gyeonghan and Naong, under the influence of Jinul and the traditional Tongbulgyo tendency, showed an unusual interest in scriptural study, as well as a strong understanding of confucianism and taoism, due to the increasing influence of Chinese philosophy as the foundation of official education. From this time, a marked tendency for Korean Buddhist monks to be "three teachings" exponents appeared.
A significant historical event of the Goryeo period is the production of the first woodblock edition of the Tripitaka, called the Tripitaka Koreana. Two editions were made, the first one completed from 1210 to 1231, and the second one from 1214 to 1259. The first edition was destroyed in a fire, during an attack by Mongol invaders in 1232, but the second edition is still in existence at Haeinsa in Gyeongsang province. This edition of the Tripitaka was of high quality, and served as the standard version of the Tripitaka in East Asia for almost 700 years.

#### Confucianism

Gwangjong created the national civil service examinations. Seongjong was a key figure in establishing confucianism. He founded Gukjagam, the highest educational institution of the Goryeo dynasty. This was facilitated by the establishment in 1398 of the Sungkyunkwan – an academy with a Confucian curriculum – and the building of an altar at the palace, where the king would worship his ancestors.

#### Islam

According to Goryeosa, Muslims arrived in the peninsula in the year 1024 in the Goryeo kingdom, a group of some 100 Muslims, including Hasan Raza, came in September of the 15th year of Hyeonjong of Goryeo and another group of 100 Muslim merchants came the following year.
Trading relations between the Islamic world and the Korean peninsula continued with the succeeding Goryeo kingdom through to the 15th century. As a result, a number of Muslim traders from the Near East and Central Asia settled down in Korea and established families there. Some Muslim Hui people from China also appear to have lived in the Goryeo kingdom.
With the Mongol armies came the so-called Saengmokin (Semu), or "colored-eye people", this group consisted of Muslims from Central Asia. In the Mongol social order, the Saengmokin occupied a position just below the Mongols themselves, and exerted a great deal of influence within the Yuan dynasty.
It was during this period satirical poems were composed and one of them was the Sanghwajeom, the "Colored-eye people bakery", the song tells the tale of a Korean woman who goes to a Muslim bakery to buy some dumplings.
Small-scale contact with predominantly Muslim peoples continued on and off. During the late Goryeo period, there were mosques in the capital Kaesong, called Ye-Kung, whose literary meaning is a "ceremonial hall".
One of those Central Asian immigrants to Korea originally came to Korea as an aide to a Mongol princess who had been sent to marry King Chungnyeol of Goryeo. Goryeo documents say that his original name was Samga but, after he decided to make Korea his permanent home, the king bestowed on him the Korean name of Jang Sun-nyong. Jang married a Korean and became the founding ancestor of the Deoksu Jang clan. His clan produced many high officials and respected Confucian scholars over the centuries. Twenty-five generations later, around 30,000 Koreans look back to Jang Sunnyong as the grandfather of their clan: the Jang clan, with its seat at Toksu village.
The same is true of the descendants of another Central Asian who settled down in Korea. A Central Asian named Seol Son fled to Korea when the Red Turban Rebellion erupted near the end of the Mongol's Yuan dynasty. He, too, married a Korean, originating a lineage called the Gyeongju Seol that claims at least 2,000 members in Korea.

##### Soju

Soju was first distilled around the 13th century, during the Mongol invasions of Korea. The Mongols had acquired the technique of distilling Arak from the Muslim world during their invasion of Central Asia and the Middle East around 1256, it was subsequently introduced to Koreans and distilleries were set up around the city of Kaesong. Indeed, in the area surrounding Kaesong, Soju is known as Arak-ju (아락주). Under the reign of King Chungnyeol, soju quickly became a popular drink, while the stationed region of Mongolian troops came to produce high-quality soju, for instance in Andong.

## Culture
### Literature

The official histories of early Korea such as the Samguk sagi and Samguk yusa, written in Classical Chinese, remain some of the most important historical works in Korean historiography.$^{:264}$
Various writing systems that utilized the phonetic value of Hanja characters were used to transcribe Old Korean, Idu being the most notable of them as it was used for administrative purposes and recordkeeping. This script originates in Goguryeo and was designed for a very specific sort of syntax that made use of postpositional particles, such as the Old Korean accusative marker *-ul/*-ur ending represented by 尸 'corpse' and 乙 '2nd Heavenly stem'. It was eventually phased out once it became too impractical upon the invention of Hangeul.
Gugyeol was used to gloss Middle Chinese poems so Koreans could read them, with two versions having been used limited by their timeframes. Interpretative Gugyeol was predominant up to the 12th century and was supposed to tell the reader the meaning of the text and was meant to be read in Old Korean. The later form of Gugyeol appearing in the 13th century was meant to make it possible to spell out the Middle Chinese poem for the average reader, who would not know how Chinese sounded, by inferring the Koreanized pronunciation on it instead.
Hyangga poetry, which made use of Hyangchal, another writing system used to write Old Korean, was contrary to common belief still widespread during Goryeo and a number of the surviving poems that were attributed to the Unified Silla period have been revealed to have been created during Goryeo. The Cheoyongga is one of these examples, a story about a man and his unfaithful wife.
The Goryeo aristocracy emphasized engaging with high literature and court poetry in Classical Chinese. Learning Chinese poetry as well as composing poetry in Classical Chinese was a popular leisure activity for the aristocracy.

#### Tripitaka Koreana

Tripitaka Koreana (팔만대장경) is a Korean collection of the Tripitaka of approximately 80,000 pages. The wooden blocks that were used to print it are stored in Haeinsa temple in South Gyeongsang Province. The second version was made in 1251 by Gojong in an attempt invoke the power of Buddhism to fend off the Mongol invasion. The wooden blocks are kept clean by leaving them to dry outside every year. The Tripiṭaka Koreana was designated a National Treasure of South Korea in 1962, and inscribed in the UNESCO Memory of the World Register in 2007.

### Art
#### Goryeo celadon

The ceramics of Goryeo are considered by some to be the finest small-scale works of ceramics in Korean history. Key-fret, foliate designs, geometric or scrolling flowerhead bands, elliptical panels, stylized fish and insects, and the use of incised designs began at this time. Glazes were usually various shades of celadon, with browned glazes to almost black glazes being used for stoneware and storage. Celadon glazes could be rendered almost transparent to show black and white inlays.
While the forms generally seen are broad-shouldered bottles, larger low bowls or shallow smaller bowls, highly decorated celadon cosmetic boxes, and small slip-inlaid cups, the Buddhist potteries also produced melon-shaped vases, chrysanthemum cups often of spectacularly architectural design on stands with lotus motifs and lotus flower heads. In-curving rimmed alms bowls have also been discovered similar to Korean metalware. Wine cups often had a tall foot which rested on dish-shaped stands.

#### Lacquerware with mother of pearl inlay

During the Goryeo period, lacquerware with mother-of-pearl inlay reached a high point of technical and aesthetic achievement and was widely used by members of the aristocracy for Buddhist ritual implements and vessels, as well as horse saddles and royal carriages. Inlaid lacquers combine texture, color, and shape to produce a dazzling effect in both large and small objects. Although Korean lacquerware of the Goryeo period was highly prized throughout East Asia, fewer than fifteen examples are known to have survived, one of which is this exquisite box in the Museum's collection. This paucity of material is largely attributable to the fragility of lacquer objects and, to a certain extent, to wars and raids by foreign powers, notably those launched from Japan by Toyotomi Hideyoshi (1536–1598) in the late sixteenth century.
More info on Goryeo lacquerware

#### Construction techniques

These ceramics are of a hard porcellaneous body with porcelain stone as one of the key ingredients; however, it is not to be confused with porcelain. The body is low clay, quartz rich, high potassia and virtually identical in composition to the Chinese Yueh ceramics which scholars hypothesize occasioned the first production of celadon in Korea. The glaze is an ash glaze with iron colourant, fired in a reduction atmosphere in a modified Chinese-style 'dragon' kiln. The distinctive blue-grey-green of Korean celadon is caused by the iron content of the glaze with a minimum of titanium contaminant, which modifies the color to a greener cast, as can be seen in Chinese Yueh wares. However, the Goryeo potters took the glaze in a different direction than their Chinese forebears; instead of relying solely on underglaze incised designs, they eventually developed the sanggam technique of inlaying black (magnetite) and white (quartz) which created bold contrast with the glaze. Scholars also theorize that this developed in part to an inlay tradition in Korean metalworks and lacquer, and also to the dissatisfaction with the nearly invisible effect of incising when done under a thick celadon glaze.

#### Modern celadon

A revival of Goryeo celadon pottery began in the early 20th century. Playing a leading role in its revival was Yu Geun-hyeong, a Living National Treasure whose work was documented in the 1979 short film, Koryo Celadon.

## Technology

It is generally accepted that the world's first metal movable type was invented in Goryeo during the 13th century by Ch'oe Yun-ŭi. The first metal movable type book was the Sangjeong Gogeum Yemun that was printed in 1234. Technology in Korea took a big step in Goryeo and strong relation with the Song dynasty contributed to this. In the dynasty, Korean ceramics and paper, which come down to now, started to be manufactured.
Cotton was introduced in the 1370s.
During the late Goryeo Dynasty, Goryeo was at the cutting edge of shipboard artillery. In 1356 early experiments were carried out with gunpowder weapons that shot wood or metal projectiles. In 1373 experiments with incendiary arrows and "fire tubes" possibly an early form of the Hwacha were developed and placed on Korean warships. The policy of placing cannons and other gunpowder weapons continued well into the Joseon dynasty and by 1410, over 160 Joseon warships had cannons on board. Ch'oe Mu-sŏn, a medieval Korean inventor, military commander and scientist who introduced widespread use of gunpowder to Korea for the first time and creating various gunpowder based weapons.