Kyoto, officially Kyoto City, is the capital city of Kyoto Prefecture in Japan. Located in the Kansai region on the island of Honshu, Kyoto forms a part of the Keihanshin metropolitan area along with Osaka and Kobe. As of 2021, the city had a population of 1.45 million, making up 57% of the prefecture's total population.
In 794, Kyoto was chosen as the new seat of Japan's imperial court. The original city was arranged in accordance with traditional Chinese feng shui following the model of the ancient Chinese capital of Chang'an. The Imperial Palace faced south, resulting in Ukyō being on the west while Sakyō is on the east. The streets in the modern-day wards of Nakagyō, Shimogyō, and Kamigyō-ku still follow a grid pattern.
The emperors of Japan ruled from Kyoto in the following eleven centuries until 1869, when the court relocated to Tokyo. The city was devastated during the Ōnin War in the 15th century and went into an extended period of decline, but gradually revived under the Tokugawa shogunate and flourished as a major city in Japan. The modern municipality of Kyoto was established in 1889.