The structure of government established under the Ritsuryo was largely divided into two departments, the Department of Worship, responsible for religious affairs, and the Council of State, responsible for general political affairs.
律令に定める統治機構は、祭祀を所管する神祇官と、政務一般を統括する太政官の二官に大きく分けられていた。