court lady (Heian period); lady-in-waiting
separate room in a palace (esp. for a lady; Heian period)
「局」 has another reading with different meanings.
bureau; department
prostitute of the lowest class (Edo period)
palace room for government officials or ladies in waiting
彼女は宮中で局を与えられ、女房として仕えた。
She was granted a chamber in the palace and served as a court lady.