 The distinction was made to encourage "uinyeo" since King Yeongjo's reign and had lasted until the end of the Joseon dynasty.While "naeuinyeo" worked in the palace, the other group of "uinyeo" worked for "hyeminseo", the state-sponsored health clinics in certain areas.In the end of King Seongjong's reign, while "uinyeo" were sent to attend parties and feasts held for official and private occasions, they were not invited along with "gisaeng" (female entertainers).