Zhang Xiu surrendered to Cao Cao sometime between 6 December 199 and 3 January 200. When Zhang Xiu showed up, Cao Cao came out to welcome him, held his hand, and hosted a banquet in his honour. Apart from recommending Emperor Xian to enfeoff Zhang Xiu as a marquis and appoint him as General Who Spreads Martial Might (), Cao Cao also arranged for one of his sons, Cao Jun, to marry Zhang Xiu's daughter. Zhang Xiu fought on Cao Cao's side during the Battle of Guandu against Yuan Shao and was promoted to General Who Defeats the Qiang () for his contributions.