Before this dynasty , China was ruled by Song Dynasty . After the Yuan Dyansty , the Ming Dynasty ruled China . In Chinese history , the Yuan Dynasty followed the Song Dynasty and preceded the Ming Dynasty .