Due to the growth of the kisaeng class, during the reign of Myeongjong the state began to keep records (called "gijeok") of the kisaeng living in each jurisdiction. Around this time, the state also made its first efforts to set up educational institutions to train kisaeng entertainers. These academies were known as "gyobang", and first appear in history with their abolition by King Hyeonjong in 1010. However, they were re-established in the reign of Chungnyeol. The "gyobang" provided training in the "dangak" and "sogak" musical styles.