In 1392, General Yi Seong-gye established the Joseon dynasty (1392–1910) with a largely bloodless coup. Yi Seong-gye moved the capital of Korea to the location of modern-day Seoul. The dynasty was heavily influenced by Confucianism, which also played a large role to shaping Korea's strong cultural identity. King Sejong the Great (1418–1450), one of the only two kings in Korea's history to earn the title of great in their posthumous titles, reclaimed Korean territory to the north and created the Korean alphabet.