Before the Eastern Jin the city was known as Jianye, and it was the capital of the kingdom of Wu during the Three Kingdoms period. It was renamed Jiankang during the Jin dynasty, in order to observe the naming taboo for Emperor Min of Jin.
Renamed Jiankang in 313 CE, it served as the capital of the Eastern Jin and Southern Dynasties, following the retreat from the north due to Xiongnu raids.[1] It rivaled Luoyang in population and commercial activity, and at its height, in the sixth century, it was home to around one million people.[2] In 549 CE, during the rebellion of Hou Jing, Jiankang was captured after a year-long siege that devastated the city: most of the population were killed or starved to death. During the national reunification under the Sui dynasty it was almost completely destroyed, and was renamed Jiangzhou (蔣州) and then Danyang Commandery (丹陽郡). Under the Tang dynasty, the city regained its prosperity and the name became Jinling (金陵). By the Five Dynasties and Ten Kingdoms period it was called Jiangning (江寧); in the Southern Song dynasty the name of Jiankang was revived.
When Zhu Yuanzhang, the Hongwu Emperor, founded the Ming dynasty in 1368, he made Jiankang the capital of China, renaming it Nanjing, "Southern Capital".
Six Dynasties
The Tang historian Xu Song (許嵩, Xǔ Sōng), in his work Jiankang Shilu (建康實錄, Jiànkāng Shílù), coined the term "Six Dynasties" for the various regimes that had centred their power on the site:
In the 6th century, Jiankang may well have been the largest city in the world, with a population of probably more than one million people. At that time, Rome had a population of less than 100,000, Constantinople had about 500,000, and Luoyang had more than 500,000.[2]