Asuka/Nara period

Buddhism was introduced to the Japanese archipelago in the mid-6th century, and the first full-fledged Buddhist temple, Asuka-dera, was built by the Soga clan at the end of the 6th century. Afterwards, temples were built in various parts of Yamashiro as part of the national policy to promote Buddhism.
In the 8th century, the capital was moved to Heijo-kyo, and the southern part of the Yamashiro region was truly a country behind the mountains, and various facilities related to the capital, such as a port, a mint, and a temporary palace.
Furthermore, a temporary capital, Kyoninkyo, was established. This was also a precursor to Yamashiro Province establishing itself as the capital from the end of the 8th century onwards.