During the reign of Emperor Saga, Konin kyakushiki code (amendments to penal and administrative law compiled in 820), which was the integration of various laws, was compiled and put into practice.
また、嵯峨治世期には、各種法令の集大成である弘仁格式が編纂・施行された。