Nara period

The Nara period (奈良時代 Nara jidai, ja) of the history of Japan covers the years from 710 to 794. During the period, the capital was established in Heijō-kyō (present-day Nara).
The capital at Nara was modeled after Chang'an, the capital city of the Tang dynasty. In many other ways, the Japanese upper classes patterned themselves after the Chinese, including adopting the Chinese writing system, Chinese fashion, and a Chinese version of Buddhism.
Japanese society during this period was predominantly agricultural and centered on village life. Most of the villagers followed Shintō, a religion based on the worship of natural and ancestral spirits named kami.
A major cultural development of the era was the permanent establishment of Buddhism. Buddhism was introduced into Japan in the sixth century but had a mixed reception until the Nara period, when it was heartily embraced by Emperor Shōmu. Shōmu and his Fujiwara consort were fervent Buddhists and actively promoted the spread of Buddhism, making it the "guardian of the state" and a way of strengthening Japanese institutions.
During Shōmu's reign, the Tōdai-ji (literally Eastern Great Temple) was built. Within it was placed the Great Buddha Daibutsu: a 16-metre-high, gilt-bronze statue. This Buddha was identified with the Sun Goddess, and a gradual syncretism of Buddhism and Shinto ensued. Shōmu declared himself the "Servant of the Three Jewels" of Buddhism.
The central government established temples called kokubunji in the provinces. The Tōdai-ji was the kokubunji of Yamato Province (present-day Nara Prefecture).
Although these efforts stopped short of making Buddhism the state religion, Nara Buddhism heightened the status of the imperial family. Buddhist influence at court increased under the two reigns of Shōmu's daughter. As Empress Kōken (r. 749–758) she brought many Buddhist priests into court.
Further reading
Nara period, Wikipedia