Zhu Yuanzhang then established the Ming dynasty, ruling as the Hongwu Emperor (r