Edo was renamed Tokyo in 1868, and when Emperor Meiji visited Tokyo and entered the Nishi no maru (a castle compound to the west of the main compound) of Edo-jo Castle (At present only a palace exists; it is a different place from the current site of the Fukiage gosho (old imperial palace of Fukiage)), the Castle was also renamed Tokyo-jo Castle and was taken up as the temporary Kokyo during the Emperor's visit to the east, after which the Emperor went back briefly to Kyoto.
1868年（明治元年）に江戸が東京と改められ明治天皇が東京行幸し江戸城西の丸（現在は宮殿のみが建っている・現在の吹上御所とは別の場所）に入った際、江戸城も東京城と改称され、天皇の東幸中の仮皇居と定められ天皇は一旦京都に戻った。