 Her ancestors were actually from Longxi Commandery (隴西郡; around present-day Dingxi, Gansu), but they migrated to Yingchuan Commandery during the Jianwu era (25–56 CE) of the reign of Emperor Guangwu in the early Eastern Han dynasty.Xin Xianying's father, Xin Pi, served as an official under the warlord Cao Cao, who controlled the central government and the figurehead Emperor Xian in the final decades of the Eastern Han dynasty.After the fall of the Eastern Han, Xin Pi continued serving in the Cao Wei state during the Three Kingdoms period and his highest appointment was Minister of the Guards (衛尉).