明熹宗
Yuan cooperated with the commander-in-chief Sun Chengzong in pushing the frontiers steadily northward, fortifying Ningyuan in 1623. The elderly Sun was an able commander but refused to bribe Wei Zhongxian, an influential court eunuch under the Tianqi Emperor. Consequently, Sun was recalled in 1625 and replaced by Gao Di (), who ordered a general retreat to Shanhai Pass. However, Yuan flatly refused to leave Ningyuan.