https://en.wikipedia.org/wiki/Seowon
Seowon (Korean: 서원; Hanja: 書院) were the most common educational institutions of Korea during the mid- to late Joseon Dynasty. They were private institutions, and combined the functions of a Confucian shrine and a preparatory school. In educational terms, the seowon were primarily occupied with preparing students for the national civil service examinations. In most cases, seowon served only pupils of the aristocratic yangban class.