794 CE

Founding Of Heian Kyo

About this moment

The Heian Palace (平安宮, Heian-kyū) was the original imperial palace of Heian-kyō (present-day Kyoto), then the capital of Japan. Both the palace and the city were constructed in the late 700s and were patterned on Chinese models and designs. The palace served as the imperial residence and the administrative centre for most of the Heian period (794–1185).

Source

Read on Wikipedia