The Jingnan campaign was the civil war of 1399-1402 (Jianwen years one to four) by which Zhu Di, Prince of Yan, took the throne. Zhu Yuanzhang had enfeoffed his sons along the frontiers; the heir apparent dying early, he passed the succession to his grandson Zhu Yunwen. The new emperor (Jianwen), with Qi Tai and Huang Zicheng, moved to cut the princes down — Zhou, Qi, Xiang and Dai deposed in train — while Zhu Di feigned madness and sickness and armed in secret. In the seventh month of 1399 he rose at Beiping under the cry of 'cleansing the emperor's side, executing Qi and Huang' — invoking the Ancestral Injunction's 'quelling of difficulties' (jingnan). The court sent Geng Bingwen and then Li Jinglong north with armies of hundreds of thousands, beaten repeatedly; Zhu Di fought across Hebei and Shandong with the war three years deadlocked. At the end of the third year, learning the capital stood empty of troops, he threw everything into the southern march, crossed the Yangtze in the sixth month of the next year, and the Jinchuan Gate was opened from within — fire rose in the palace and the Jianwen emperor vanished (some say burned, some say out as a monk); Zhu Di took the throne as the Yongle emperor, and the purging of Jianwen's men was ruthless. He struck the Jianwen era from the record, restored the princes' honors while finishing the princes' weakening all the same; the moving of the capital to Beijing, the five campaigns into the steppe, the Yongle Encyclopedia and the voyages of Zheng He all rose on the imperial power this war fixed, and the Ming entered its Yongle age.