
Yi Seong-gye (general who founded Joseon) ruled as King Taejo and in 1394 moved the capital to Hanyang, today’s Seoul, where the palace of Gyeongbokgung was completed in 1395. Joseon made Neo-Confucianism its state ideology and cut back the wealth and power of the Buddhist temples. The early years were violent: in 1398 Taejo’s fifth son, Yi Bang-won (third king of Joseon), killed rivals including two of his half-brothers, and in 1400 he took the throne as King Taejong.
Taejong’s son, King Sejong (king who created Hangul), who reigned from 1418 to 1450, is the most admired ruler in Korean history. In 1443 he completed a new alphabet of 28 letters, published in 1446 as the Hunminjeongeum, “the correct sounds for instructing the people”, so that ordinary people could read and write their own language. His reign also produced rain gauges, water clocks and sundials, many of them linked to the inventor Jang Yeong-sil (inventor at Sejong’s court).

Joseon was run by the yangban, a hereditary class of scholar-officials who competed in civil service examinations on the Confucian classics. Below them were commoners, mostly farmers, and below them a large slave population; historians agree that slaves were a large share of the people in the 15th and 16th centuries, though estimates vary widely. Court historians recorded every reign in the Annals of the Joseon Dynasty.
From the late 15th century the court was torn by literati purges, in which officials of rival groups were exiled or executed; there were four major purges between 1498 and 1545. The tyrant Yeonsangun (tyrant king), behind two of them, was deposed in 1506. In the 16th century the scholars Yi Hwang (Neo-Confucian philosopher) and Yi I (philosopher and reformer) led the two great schools of Korean Neo-Confucian thought, and from the 1570s officials split into lasting factions.