 Although the imperial household was staffed mostly by eunuchs and palace ladies , there was a civil service office called the Seal Office , which cooperated with eunuch agencies in maintaining imperial seals , tallies , and stamps . There were also civil service offices to oversee the affairs of imperial princes . 
