By 1387, after more than 30 years of war, their leader, Zhu Yuanzhang conquered the North China Plain and occupied the Yuan capital Khanbaliq (present-day Beijing). Having attained the Mandate of Heaven and the status of Emperor, Zhu Yuanzhang named his period of reign "Hongwu" (thus he was known as the Hongwu Emperor) and founded a new dynasty – the Ming dynasty. The group later reemerged in the late 18th century in the form of an inspired Chinese movement.