qnli question: When was Nanjing considered to be the biggest city in the world? sentence: Nanjing remained the capital of the Ming Empire until 1421, when the third emperor of the Ming dynasty, the Yongle Emperor, relocated the capital to Beijing.