Jianwen Emperor
The Hongwu Emperor's grandson, Zhu Yunwen, assumed the throne as the Jianwen Emperor (1398–1402) after the Hongwu Emperor's death in 1398. In a prelude to a three-year-long civil war beginning in 1399, The Jianwen Emperor became engaged in a political showdown with his uncle Zhu Di, the Prince of Yan. The emperor was aware of the ambitions of his princely uncles, establishing measures to limit their authority. The militant Zhu Di, given charge over the area encompassing Beijing to watch the Mongols on the frontier, was the most feared of these princes. After the Jianwen Emperor arrested many of Zhu Di's associates, Zhu Di plotted a rebellion. Under the guise of rescuing the young Jianwen Emperor from corrupt officials, Zhu Di personally led forces in the revolt; the palace in Nanjing was burned to the ground, along with the Jianwen Emperor, his wife, mother, and courtiers. Zhu Di assumed the throne as the Yongle Emperor (1402–1424); his reign is universally viewed by scholars as a "second founding" of the Ming dynasty since he reversed many of his father's policies.