The "Kojiki," which is believed to have been completed in 712, was a record of histories which the Emperor Tenmu ordered HIETA no Are to memorize based on 'Teiki' (records of Emperor's family tree) and 'Kyuji' (a record of stories current at court) and recorded by O no Yasumaro.
712年（和銅5年）にできたとされる『古事記』は、宮廷に伝わる「帝紀」「旧辞」をもとに天武天皇が稗田阿礼によみならわせた内容を太安万侶が筆録したものである。