<human>:  Why is the city of Kyoto called Kyoto?
<bot>: Kyoto was the capital of Japan from 794 to 1868. The city was originally named Heian-kyō, meaning "capital of the Heian period." The Heian period was a time of peace and prosperity in Japan, and it was during this time that Japanese culture flourished. The city was renamed Kyoto in 794.