Question: Who was the third emperor of the Ming dynasty?
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