During the Nara period, before the capital was transferred to Kyoto in Yamashiro province, the province of Yamato was the…