Kyoto was the capital of the Heian period (794 - 1192) and the Shogunate period (1192 - 1868).

The capital of the Shang Dynasty had moved many times. Shangqiu was the pre-Shang Dynasty (before the founding of Shang Tang); Yanshi was the early Shang Dynasty (the place where Shang Tang founded the country and established its capital, known as Xibo in history). After Shang Tang, the kings of Waibing, Zhongren, Taijia, Woding, Taikang, Xiaojia, Yongji, Taiwu and other kings all used this as their capital. They established their capital here for more than 230 years in the five generations and ten kings. Zhengzhou was the place where the eleventh Shang king moved his capital; Anyang was the late Shang Dynasty; Zhaoge (Qi County) was the last Shang Dynasty. In addition, the "Ancient Bamboo Book Annals" mentioned that the five capitals that had been moved were Xiao Du, Xiang Du, Bi Du, Yan Du, and Yin Du. The four emperors of Wuding, Wuyi, Diyi and Dixin took Chaoge as their capital. There was also a view that Yanshi was also the place where Pangeng moved his capital, and the later capital cities were all called Yin. Yanshi was the earliest Yin Shang or Yin Ruins. However, after the first archaeological discovery of the Yin Ruins in Anyang, people often regarded Anyang as the capital of the Yin Shang Dynasty. The traditional view was that Pangeng moved the capital to Anyang, but there was also controversy because no cultural evidence of Pangeng moving to Anyang had been found. While waiting for the TV series, you can also click on the link below to read the classic original work of "Dafeng Nightwatchman"!
The capital was built in imitation of Chang 'an and Luoyang in the Tang Dynasty. The overall layout and details of the capital city were based on the Tang Dynasty's Chang 'an City and Luoyang City. Heianjing (today's Jingdou) imitated Luoyang in the Tang Dynasty in terms of the ratio of width and details. The streets of Jingdou were arranged in a chessboard shape, with a neat and uniform layout. The Imperial Palace, government offices, residential areas, and commercial areas were clearly divided. Although the architecture of Jingdou was mainly modeled after Chang 'an, the name came from Luoyang. The buildings and courtyards in the capital had a strong Tang Dynasty style. For example, the Golden Pavilion Temple had the shadow of the Tang Dynasty in China. In general, Jingdou was inclusive in the construction process. It combined the construction experience of Chang 'an City and Luoyang City of Tang Dynasty into one, and finally created a city that looked like Chang' an City and Luoyang City.
The capital cities of the Liao Dynasty were Shangjing Linhuang Prefecture, Zhongjing Dading Prefecture, Tokyo Liaoyang Prefecture, Nanjing Xijin Prefecture, and Xijing Datong Prefecture. Shangjing Linhuang Mansion was located in Nanboluo City, Bairin Left Banner, Chifeng City, Inner Mongolia. It was the main capital of Liao Kingdom. Dading Prefecture of Zhongjing was located in Ningcheng County, Chifeng City, Inner Mongolia. Tokyo Liaoyang Prefecture is located in the current Liaoyang City, LiaoningProvince. Nanjing Xijin Prefecture is located in today's Beijing City. Datong Prefecture of Xijing is located in Datong City, Shanxi Province. The emperors of the Liao Dynasty often toured between these five capitals, reflecting their nomadic nature. Shangjing Linhuang Mansion was the main capital of Liao Kingdom, and it had a special strategic position and ruling significance.
The first capital of the Xia Dynasty was Yangcheng, which was now Zhengzhou in Henan Province.
The capital cities of the Xia Dynasty were Yangcheng, Yangzhai, Anyi, Zhenxun, Shangqiu, Lun City, etc.
The capital of the Song Dynasty was Kaifeng Prefecture in Tokyo.
The capital of the four dynasties of the Southern Dynasty was Jiankang, which was today's Nanjing.
The capital of the Southern Tang Dynasty was originally in Jinling (now Nanjing), and later moved to Hongzhou (now Nanchang). The rulers of the Southern Tang Dynasty thought that they were the successors of the Tang Dynasty, so they tried their best to imitate the establishment of the Tang Dynasty in the local administrative system. When Xu Wen was in charge of Yang Wu, he took Shengzhou (Jinling) as his future ruling center and began to painstakingly manage Jinling. First, he set up the Jinling Prefecture in Shangyuan County of Shengzhou, which became the western capital of Yang Wu. After the establishment of the Southern Tang Dynasty, he changed the Jinling Prefecture to Jiangning Prefecture, still calling Jinling the western capital. In the sixth year of Xiande of the Later Zhou Dynasty (959), Hongzhou became the southern capital. A year later, the capital was moved here. However, due to the opposition of everyone, they moved back to Jinling soon after. Therefore, the capital of the Southern Tang Dynasty was once in Jinling (Nanjing) and Hongzhou (Nanchang).