大宝律令
The Taihō Code established two branches of government: the and the . The "Jingi-kan" was the higher branch, taking precedence over the "Daijō-kan" and handled all spiritual, religious, or ritualistic matters. The "Daijō-kan" handled all secular and administrative matters.