Question: when was kyoto the capital of japan?
Answer: Traditionally, the home of the Emperor is considered the capital. From 794 through 1868, the Emperor lived in Heian-kyō, modern-day Kyoto. After 1868, the seat of the Government of Japan and the location of the Emperor's home was moved to Tokyo.