 Xin Ping subsequently became an official serving under Yuan Shao, and he brought along his younger brother Xin Pi.In the year 200, Yuan Shao clashed with his rival Cao Cao at the Battle of Guandu.During the battle, two sons of Yuan Shao's adviser Shen Pei were captured by Cao Cao's forces.