After Zhu Di became the Yongle Emperor, the capital of China was moved from Nanjing to Beijing. In 1406 construction began on the Forbidden City. The construction of the palace went on for over 14 years and more than a million workers had to work on building it. (1406-1420)