In the winter of 211, Cao Cao led an army from Chang'an to attack and besiege Yang Qiu in Anding Commandery. Yang Qiu surrendered.
During the winter of 211, Cao Cao launched a military campaign from Chang'an against Yang Qiu in Anding Commandery, forcing him to surrender.