Zhu Yuanzhang, who became the founder and first Emperor of the Ming dynasty, began building a palace in what was then known as Jiankang in 1367.
In 1373 the Hongwu Emperor shifted his focus back to Nanjing, with a substantial program of expansion and refurbishment of the palace which was completed in 1375.