The Hongwu Emperor (21 October 1328 – 24 June 1398), personal name Zhu Yuanzhang, was the founding emperor of the Ming dynasty, reigning from 1368 to 1398.
In the mid-14th century, China suffered from epidemics, famines, and widespread uprisings under the Mongol Yuan dynasty. During this turmoil, the orphaned Zhu Yuanzhang briefly lived as a novice monk, begging for alms and gaining insight into common people's hardships, while developing a dislike for book-dependent scholars. In 1352, he joined a rebel force, soon proving his ability and rising to command his own army. He captured Nanjing in 1356 and made it his capital, creating a government of generals and Confucian scholars and rejecting Mongol rule. He adopted Yuan administrative practices and applied them to his territory as it expanded. After defeating rival rebels, most notably in his decisive victory over Chen Youliang at Lake Poyang in 1363, he declared himself King of Wu in 1364. Nevertheless, in 1367 he still formally recognized Han Lin'er, the Red Turban leader who claimed Song legitimacy.