Heian-kyō

was the capital of Japan from 794 to 1868. Heian-kyō is one of several former names for the city now known as Kyoto.
In 794, Emperor Kammu established this city as Japan's capital. The move from Heijō-kyō to Heian-kyo marks the beginning of the Heian period of Japanese history.
City planning.
The design of Heian-kyō mirrored grid pattern of Chang'an, which was the Tang Dynasty capital of China.