The Tianqi Emperor died in 1627, and although many expected Wei to attempt to seize the throne, no such coup happened. According to Li Sunzhi (a Donglin sympathizer), Wei had previously attempted to convince
Empress Zhang to adopt his nephew, Wei Liangqing, in order to continue his manipulation of the throne. However, the empress refused. Because none of the Tianqi Emperor's three sons lived to adulthood, the emperor conferred the right to rule to his younger brother, Zhu Youjian, who became the
Chongzhen Emperor on 2 October 1627. Although the Chongzhen Emperor was intent on ruling without any decision-making surrogates, he did not immediately dismiss Wei. When Wei offered to resign just six days after the Chongzhen Emperor's reign began, the emperor refused. A month later, Wei decreed that no more temples should be built in his honor. In the months afterwards, multiple complaints about and calls for Wei's impeachment came before the emperor. After ignoring the first few, the Chongzhen Emperor finally called for evidence of Wei's faults from officials. In response to this, "more than one hundred" officials sent memorials denouncing Wei. On December 8, the Chongzhen Emperor issued an edict listing Wei's crimes and exiled him south to Fengyang (in present-day
Anhui). As Wei traveled to Fengyang, one of the Chongzhen Emperor's commissioners warned the emperor that Wei might work with other demoted officials of the deceased Tianqi Emperor to stage a rebellion. Acting on the warning, the Chongzhen Emperor ordered the Embroidered Uniform Guard to arrest Wei and bring him back to Beijing. On December 13, informants found Wei and told him of the edict. That night, he and his entourage stopped at an inn 150 miles south of Beijing. Wei and his secretary proceeded to hang themselves from the rafters with their own belts. After discovering Wei's death, the rest of his entourage managed to escape the area before the guards came. The Chongzhen Emperor's retribution to Wei and his political allies was swift and severe. In early 1628, Wei's corpse was dismembered and displayed in his native village as a warning to the public. By 1629, 161 of Wei's associates had been punished by the Chongzhen Emperor; of those, 24 were sentenced to execution.
Madam Ke was beaten to death by an interrogator just 11 days after Wei's death. ==Legacy and dramatizations==