Unlike noble titles in the European and Japanese aristocracies, which were conferred on a hereditary basis, the bureaucratic position of Yangban was granted by law to Yangban who passed state-sponsored civil service exams called gwageo ().