In "Toshi Kaden" (Biographies of the Fujiwara clan) and "Konin Kyakushiki" (a compilation of rules, regulations, and precedents covering the 119 years since the issue of the Taiho code in 702), it was reported that Emperor Tenchi instituted Omi-Ryo as the first administrative code in Japan.
『藤氏家伝』や『弘仁格式』には、日本最初の律令として天智天皇が近江令を制定したことが記されている。