Joseon (Korean: 조선; Hanja: 朝鮮; also Chosŏn, Choson, Chosun, Cho-sen), was a Korean state founded by Taejo Yi Seong-gye that lasted for approximately five centuries, from July 1392 to October 1897. It was founded following the aftermath of the overthrow of the Goryeo Dynasty in what is today the city of Kaesong. Early on, Korea was retitled and the capital was relocated to modern-day Seoul. The kingdom's northernmost borders were expanded to the natural boundaries at the Amnok and Duman rivers through the subjugation of the Jurchens. Joseon was the last dynasty of Korean history and the longest-ruling Confucian dynasty.
During its reign, Joseon consolidated its effective rule over the territory of current Korea, encouraged the entrenchment of Korean Confucian ideals and doctrines in Korean society, imported and adapted Chinese culture, and saw the height of classical Korean culture, trade, science, literature, and technology. However, the dynasty was severely weakened during the late 16th and early 17th centuries, when invasions by the neighboring states of Japan and Qing nearly overran the peninsula, leading to an increasingly harsh isolationist policy for which the country became known as the Hermit Kingdom. After the end of invasions from Manchuria, Joseon experienced a nearly 200-year period of peace.