Zhu Yunwen, who had been in power for four years, made strategic mistakes when cutting the vassal state, and was later defeated by Zhu Di, the king of Yan, but his whereabouts were unknown.
Before Zhu Yuanzhang died of illness, he was extremely irritable. Many people were worried about the disaster. Zhu Yunwen personally served him and often couldn't sleep all night, but he didn't complain. Zhu Yunwen, born with "benevolence and filial piety", was pushed to the peak of power at the age of 21. He inherited the rule of the world created by Zhu Yuanzhang and changed his year title to Jianwen. However, careful ministers will find that there is no surprise on the new king's face, but more sadness. The young emperor had two difficult questions before him: first, how to change the severe political atmosphere of killing frequently formed since the founding of the People's Republic of China; The second is how to solve the situation that Taizu's enfeoffment of suzerain and vassal states never ended. It may have never occurred to Zhu Yuanzhang, the first emperor, that from the very beginning of his accession to the throne, the weak emperor and his grandson began to reform the Ming Dynasty he had created.
Zhu Yunwen improved the strict legal system implemented by the Emperor Taizu of the Ming Dynasty. Emperor Hongwu once issued a set of codes, making them the legal norms of the whole empire. He sometimes supplements the code in the form of "Gao", and sometimes publishes typical cases in the form of "Zhang Wen".