Heian-kyō (平安京, literally "tranquility and peace capital") 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 to Heian-kyo marks the beginning of the Heian period of Japanese history.
The design of Heian-kyō mirrored grid pattern of Chang'an, which was the Tang Dynasty capital of China.