Later, with some reforms of part of the system, Taiho Ritsuryo (Taiho Code), which included Soniryo (Regulations for Priests and Nuns) (and Jingiryo (ritual outlines and regulations) for shrines) was issued and the Buddhist priests and temples were put under the regulation of the state (ritsuryo laws, in form, did not regulate Buddhism or Shinto themselves, but put the people and organizations involved in the religions under control).
その後一部制度の改革を経て大宝律令において僧尼令（神社に対しては神祇令）が出され、国家による僧侶・寺院に対する統制が行われた（律令法は形式上においては仏教や神道そのもの統制ではなく、それに従事している人や組織に対してのみ統制を行った）。