孝文帝
Widespread social and cultural transformation in northern China came with Emperor Xiaowen of Northern Wei (reigned 471–499), whose father was a Xianbei, but whose mother was Chinese. Although of the Tuoba Clan from the Xianbei tribe, Emperor Xiaowen asserted his dual Xianbei-Chinese identity, renaming his own clan after the Chinese "Yuan" (元 meaning "elemental" or "origin"). In the year 493 Emperor Xiaowen instituted a new signification program that had the Xianbei elites conform to many Chinese standards. These social reforms included donning Chinese clothing (banning Xianbei clothing at court), learning the Chinese language (if under the age of thirty), applied one-character Chinese surnames to Xianbei families, and encouraged the clans of high-ranking Xianbei and Chinese families to intermarry. Emperor Xiaowen also moved the capital city from Pingcheng to one of China's old imperial sites, Luoyang, which had been the capital during the earlier Eastern Han and Western Jin dynasties. The new capital at Luoyang was revived and transformed, with roughly 150,000 Xianbei and other northern warriors moved from north to south to fill new ranks for the capital by the year 495. Within a couple of decades, the population rose to about half a million residents and was famed for being home to over a thousand Buddhist temples. Defectors from the south, such as Wang Su of the prestigious Langye Wang family, were largely accommodated and felt at home with the establishment of their own Wu quarter in Luoyang (this quarter of the city was home to over three thousand families). They were even served tea (by this time gaining popularity in southern China) at court instead of yogurt drinks commonly found in the north.