either ming or yuan dynasty seizes control of mainland china