 When the Yongle Emperor decided to transfer the capital from Nanjing to Beijing in 1407, Kuai Xiang was ordered to design and construct the Forbidden City for him.Kuai Xiang was in his early thirties when the Emperor commissioned him to design the Forbidden City.Kuai used the Imperial Palace in Nanjing as a model.