Nihon Shoki
This system was already in use in the verse parts of the "Kojiki" (712) and the "Nihon Shoki" (720).