Yuan Chonghuan (1584-1630), courtesy name Yuansu, ancestral home Dongguan in Guangdong, was the military leader of the late Ming frontier. A jinshi of 1619, after the annihilation of the Ming field army at Sarhu he asked to serve on the Liao front and built the fortress of Ningyuan. In 1626 Nurhaci came against Ningyuan with his main host; Yuan held the walls with Western 'red-coat' cannon, the garrison fought to a man, the siege lifted — the first great Ming victory over the Later Jin (the Victory at Ningyuan), and Nurhaci died of his wounds soon after; the next year Hong Taiji attacked Ningyuan and Jinzhou and failed again (the Victory of Ning-Jin). Named viceroy of Jiliao in 1627, at the audience on the platform he promised the Chongzhen Emperor 'five years to recover Liaodong'; he then executed the insubordinate fleet commander Mao Wenlong. In 1629 Hong Taiji bypassed his line through Mongolia and appeared before Beijing (the Jisi alarm); Yuan marched back a thousand li and repelled the enemy in bloody fighting at Guangqu Gate — but the court charged him with killing Mao without leave and with secret parley with the enemy, Hong Taiji planted an elaborate double-agent tale, and the Chongzhen Emperor jailed him, having him cut to death at the western market in 1630. The Qianlong emperor of Qing, editing the histories, cleared his name — and the tale of the stratagem spread. Ningyuan and Ning-Jin proved that fortresses and cannon could check the Jin; the late-Ming defense system beyond the pass was built on his lines.