ɪn sˈɪkshˈʌndɹɪd sˈɪksti tˈuː, ˈɛmpɚɹɚ tˈɛndʒi ɪz sˈɛd tə hæv kəmpˈaɪld ðə fˈɜːst dʒˌæpənˈiːz lˈiːɡəl kˈoʊd nˈoʊn tə mˈɑːdɚn hɪstˈoːɹiənz.
In 662, Emperor Tenji is said to have compiled the first Japanese legal code known to modern historians.