白村江の戦い
In 704, the mission returned to Japan, along with some Japanese who had been captives since the Battle of Baekgang. Mahito was rewarded with land in Yamato Province. He was promptly promoted to "chūnagon" to put the knowledge he gained in China to use in the planning of the of Ritsuryō.