yè​tíng

side courts

掖庭 yè​tíng
side courts
The side courts or lateral apartments of an imperial palace, traditionally used to house concubines or serve as administrative offices.
court official
(literary) An official title for an eunuch tasked with managing the affairs of the women in the rear palace.