Until the Nara period, women working in the palace were called Kyujin (court lady) including myobu, however, myobu was discriminated from kyujin after the Heian period.
奈良時代までは宮中に仕える女性は命婦を含めて宮人と称したが、平安時代以降は宮人と命婦は区別されるようになる。