At the end of the Nara period, the Japanese government fell into a bitter struggle due to its inability to mediate conflicts between Chinese immigrants and locals.
Finally, it was decided to move the capital to Kyoto, away from Nara, where there are many Chinese influences.
Around the matter of moving the capital, a series of things happened between Sasuke and Naruto, the son of the Chinese patriarch.