Under the Ritsuryo system (a system of centralized government based on the ritsuryo code), this facility was controlled by the Genba-ryo (office taking charge of affairs relating to the diplomacy and Buddhism) of the Jibu-sho Ministry.
律令制においては治部省玄蕃寮の管轄であった。