Question: Where was the capital moved to?
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.
Answer in sentence: yes