Detailed Instructions: This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
Problem:Passage: The Mongols' greatest triumph was when Kublai Khan established the Yuan dynasty in China in 1271. The Yuan dynasty created a "Han Army" out of defected Jin troops and an army of defected Song troops called the "Newly Submitted Army" . The Mongol force which invaded southern China was far greater than the force they sent to invade the Middle East in 1256. The Yuan dynasty established the top-level government agency Bureau of Buddhist and Tibetan Affairs to govern Tibet, which was conquered by the Mongols and put under Yuan rule. The Mongols also invaded Sakhalin Island between 1264 and 1308. Likewise, Korea became a semi-autonomous vassal state and compulsory ally of the Yuan dynasty for about 80 years. The Yuan dynasty was eventually overthrown during the Red Turban Rebellion in 1368 by the Han Chinese who gained independence and established the Ming dynasty.
Question: The Yuan dynasty was overthrown, then replaced with what?
Answer type: Span
Solution:
['Ming dynasty'].