Then, the Gokuu kaninryo created job titles for the kokyu junishi (twelve offices belonging to the Kokyu, empress's residence) and established Shichidengosha as the Kokyu palace of the Imperial court.
後宮十二司が配置され、宮中に七殿五舎が設置された。