In 1259, Möngke Khan died after the Song Yuan dynasty war. His brothers all wanted to be king. His fourth brother, Kublai, and his seventh brother, Ali Khan, fought to rule the Mobi tribes. And finally in 1264, Kublai won. Kublai made the name "DaYuan" in 1271 and proclaimed the Yuan Dynasty and said its founder was his grandfather Genghis. In 1276, Yuan ruled southern of Song, so yuan ruled the whole China in this year. In 1279, the Kublai subdued southern Song dynasty. The Yuan dynasty ruled China and brought different parts of China together that had been split since the late Tang dynasty. They were the first foreign dynasty to rule just about all of China. 