日本書紀
According to the "Kojiki" and "Nihon Shoki", the script was brought by scholars from Baekje (southwestern Korea).