Before this dynasty , China was ruled by Song Dynasty .
In traditional historiography of China on the other hand , the Yuan Dynasty is usually considered to be the legitimate dynasty between the Song Dynasty and the Ming Dynasty .