The was a division of the eighth century Japanese government of the Imperial Court in Kyoto, instituted in the Asuka period and formalized during the Heian period. The Ministry was replaced in the Meiji period.
The nature of the ministry was modified in response to changing times. The ambit of the Gyà Âbu-shà  activities encompassed, for example:
The duties, responsibilities and focus of the ministry evolved over time. The ritsuryà  system of laws were interpreted and applied by bureaucracies which distinguished punishment (gyà Âbushà Â) and censorship (danjodai). These were merged in 1871 when the was established under the Constitution of the Empire of Japan.
The Ministry of Justice brought together a judiciary and penal system management.
The top ritsuryà  officials within this ministry structure were: