When General Sima Yi of Cao Wei conquered Gongsun Yuan in his military campaign against Liaodong in 238, there remained only four counties in the new Xuantu Commandery that had retreated west (present-day Fushun): Gaogouli, Gaoxian (高顯), Liaoyang (遼陽), and Wangping (望平). These would all fall within the influence of the fast-growing state of Goguryeo within the next century, and Goguryeo would end up ruling much of the previously Han-occupied part of the Northern Korean Peninsula.