Who succeeded the Hongwu emperor when he died in 1398?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

When the Hongwu emperor died in 1398, he was succeeded by his grandson, Zhu Yunwen, who is historically known as the Jianwen emperor.12

Although the Hongwu emperor had considered naming his fourth son, the prince of Yan, as his successor due to his military ability, he ultimately followed tradition by appointing the son of his deceased heir apparent. The Jianwen emperor reigned until 1402, when he was overthrown in a civil war by his uncle, the prince of Yan, who then ascended the throne as the Yongle emperor.12