The Xianbei were at one point all defeated and conquered by the Di Former Qin empire before it fell apart at the Battle of Fei River at the hands of the Eastern Jin. The Xianbei later founded their own states and reunited northern China as the Northern Wei. These states opposed and promoted sinicization at one point or another but trended towards the latter and had merged with the general Chinese population by the Tang dynasty. The Northern Wei also arranged for ethnic Han elites to marry daughters of the Tuoba imperial clan in the 480s. More than fifty percent of Tuoba Xianbei princesses of the Northern Wei were married to southern Han men from the imperial families and aristocrats from southern China of the Southern dynasties who defected and moved north to join the Northern Wei.