In the same year, the Emperor Tenmu issued Mikotonori (imperial edict) ordering the establishment of Ritsuryo codes, and in 689 after the Emperor Tenmu died, Asukakiyomihararyo (the legal code of Japanese ancient state) was distributed and established.
同年、天武天皇により律令制定を命ずる詔が発令され、天武没後の689年（持統3年6月）に飛鳥浄御原令が頒布・制定された。