Hanya'er was the second daughter of the Han family, a wealthy merchant family. She was born with an extraordinary appearance, a graceful figure, and a good reputation. At that time, the imperial court was at war with the Wei State, and military supplies were in short supply. The Han family took the initiative to donate most of their wealth to the border, which solved the urgent need on the front line. The imperial court made an exception for the draft in gratitude for its great contribution, and brought Han Wei'er, who had no official background, into the palace, and was granted the title of Han Noble Person for the first time.
After entering the palace, Hanyou'er relied on her family's financial resources, and the food and furnishings in the palace were extremely luxurious. Subsequently, the court encountered difficulties such as famine and shortage of armaments. The Han family repeatedly contributed money to support the emperor and officials, and gradually accumulated a huge reputation. By virtue of favor, Han'er was promoted to the imperial concubine, and her father was promoted to the rank of lieutenant by virtue of his merit and connections in the court. He held military and political power. The Han family had completely risen from wealthy businessmen to the top of a wealthy family. Both the government and the public were talking about the Han family's plan to use their daughters to enter the palace and reach the top of power.