Formal education has played a central role in the social and cultural development of both traditional Korea and contemporary North Korea. During the Joseon Dynasty, the royal court established a system of schools that taught Confucian subjects in the provinces as well as in four central secondary schools in the capital. There was no state-supported system of primary education.