甲午改革
The examination system was established in Korea in 958 under the reign of Gwangjong of Goryeo. Any free man (not Nobi) was able to take the examinations. By the Joseon period, high offices were closed to aristocrats who had not passed the exams. The examination system continued until 1894 when it was abolished by the Gabo Reform. As in China, the content of the examinations focused on the Confucian canon and ensured a loyal scholar bureaucrat class which upheld the throne.