Both regimes claimed to be the legitimate successor of the Ming Dynasty .
War broke out shortly afterwards .
Both regimes claimed to be the legitimate successor of the Ming Dynasty , and war broke out shortly afterwards .