In 237, Guanqiu Jian led an army to Liaodong to attack the warlord Gongsun Yuan, who was previously a vassal of the Cao Wei state but decided to rebel against Wei rule. However, the campaign had to be aborted due to heavy flooding. In the following year, Guanqiu Jian and Sima Yi led another campaign against Gongsun Yuan, defeated him, and restored stability in Liaodong. In recognition of his efforts during the campaign, Cao Rui promoted Guanqiu Jian from a district marquis to a county marquis under the title "Marquis of Anyi" ().