In order to strengthen the power of the central government, Gwangjong, the fourth emperor, made a series of laws including that of freeing slaves in 958, and one creating the exam for hiring civil officials.