Question: who did the ming dynasty take control after?
Answer: Yuan dynasty