The Kyoto Imperial Palace used to be the residence of Japan's Imperial Family until 1868, when the emperor and capital were moved from Kyoto to Tokyo. It is located in the spacious Kyoto Imperial Park, an attractive park in the center of the city.
The current Imperial Palace was reconstructed in 1855 after it had burnt down and moved around town repeatedly over the centuries. The complex is enclosed by long walls and consists of several gates, halls and gardens. - in: https://www.japan-guide.com/e/e3917.html