Extended data
When Zhu Yuanzhang, the emperor of the Ming Dynasty, was in power, his descendants were enfeoffed to various places to be vassals, and the influence of vassals was expanding day by day. Due to the premature death of Prince Zhu Biao, in the thirty-first year of Hongwu (1398), Zhu Yunwen, the great-grandson of the emperor, succeeded to the throne.
Wen Jian and his cronies Qi Tai and Huang Zicheng took a series of measures to reduce the number of vassals. At the same time, troops were deployed around Beiping and in the city, and the guards of Judy, the fourth son of Ming Taizu, were transferred to the Great Wall to get rid of the Prince.
In the first year of Wen Jian (1399), Judy set out for the south, which was called "the battle of Jingnan" in history. Wen Jian started the Northern Expedition with veteran Geng Bingwen, and sent Li Jinglong to continue the Eastern Expedition. However, Emperor Wen Jian also lacked strategy, which led to the continuous elimination of the main forces.
Judy attacked at the right time and used this strategy flexibly. After several wars, the main force of the Confederate army was wiped out and finally the victory was advanced. In four years (1402), Wen Jian captured Yingtian (now Nanjing, Jiangsu).
The war lasted for four years (1399- 1402). During the war, Emperor Wen Jian's whereabouts were unknown, or he burned himself to death in his palace, or he fled from the tunnel and hid in Yungui to become a monk. In the same year, Judy ascended the throne for the sake of Ming Chengzu.
References:
Baidu Encyclopedia-Ming Dynasty