 The dynasty was overthrown by the Ming dynasty during the reign of Toghun Temür in 1368, but it survived in Mongolia, known as the Northern Yuan dynasty; years of reign over the Northern Yuan dynasty (up to 1388) are given in brackets.The Mongol Great Khans (Khagans) before Kublai Khan were only declared Yuan emperors after the creation of Yuan dynasty in 1271.The following is a simplified family tree for the Ming dynasty, which ruled China between 1368 and 1644.