The Yuan dynasty was a Mongol dynasty that ruled Mongolia and China from 1271 to 1368. Before this dynasty, China was ruled by the Song dynasty. After the Yuan dynasty, the Ming dynasty ruled China. Genghis Khan and his army of Mongols conquered many parts of China. His grandson Kublai Khan added more parts of China to his kingdom. He founded the Yuan dynasty in 1271.