On 19 September 745, after Emperor Xuanzong gave the third daughter of the general Wei Zhaoxun () to Li Mao as his new wife and princess on 28 August, he officially made Taizhen an imperial consort—with the newly restored rank of
Guifei, which was greater than the previously highest rank of
Huifei, carried by Consort Wu. He bestowed posthumous honors on her father Yang Xuanyan and granted her mother the title of Lady of Liang. He also gave high offices to her uncle Yang Xuangui () and cousins Yang Xian () and Yang Qi (). Since 745, all within the imperial court and the palace had treated her like the new empress (), and bowed to her as if she was the most powerful woman in the land (), and in the palace, they called her lady (), like the honorific used for the empress. Her three older sisters were conferred the ranks of Ladies of Han, Guo, and Qin, and it was said that whenever the noble women were summoned to imperial gatherings, even Emperor Xuanzong's highly honored sister Li Chiying (), the Princess Yuzhen, did not dare to take a seat more honorable than theirs. Emperor Xuanzong also gave his favorite daughter, Princess Taihua (born of Consort Wu), to Yang Qi in marriage. The five Yang households—those of Yang Xian, Yang Qi, and the Ladies of Han, Guo, and Qin—were said to be exceedingly honored and rich, and all of the officials fought to flatter her. Around the same time, Yang Guifei introduced her second cousin
Yang Zhao (whose name was later changed to Yang Guozhong) to Emperor Xuanzong. Yang Zhao, who flattered the emperor, rose quickly in the ranks. Yang Guifei became so favored that whenever she rode a horse, the eunuch
Gao Lishi would attend her. Seven hundred laborers were conscripted to sew fabrics for her. Officials and generals flattered her by offering her exquisite tributes. In 746, she angered Emperor Xuanzong by being jealous and rude to him, and he had her sent to her cousin Yang Xian's mansion. Later that day, however, his mood was such that he could not eat, and he battered his servants for minor offenses. Gao knew that he missed Yang Guifei, and requested that the treasures in Yang Guifei's palace be sent to her. Emperor Xuanzong agreed, and sent imperial meals to her as well. That night, Gao requested that Emperor Xuanzong welcome Yang Guifei back to the palace, a request that Emperor Xuanzong easily agreed to. Thereafter, she was even more favored, and no other imperial consort drew his favor. In 747, when the military governor (
jiedushi)
An Lushan arrived at the capital
Chang'an to meet Emperor Xuanzong, Emperor Xuanzong showed him much favor and allowed him into the palace. He had An honor Yang Guifei as his mother and Yang Guifei's cousins and sisters as his brothers and sisters. In 750, Yang Guifei again offended Emperor Xuanzong with her words, and he sent her back to her clan. The official Ji Wen () told Emperor Xuanzong that he had overreacted, and Emperor Xuanzong regretted his actions. He again sent imperial meals to her, and she wept to the eunuchs delivering the meal, stating: She cut off some of her hair and had the hair taken back to Emperor Xuanzong. Emperor Xuanzong had Gao escort her back to the palace, and thereafter had even greater love for her. In 751,
An Lushan again visited Chang'an. On An's birthday on 20 February, 751, Emperor Xuanzong and Yang Guifei rewarded him with clothing, treasures, and food. On 23 February, when An was summoned to the palace, Yang Guifei, in order to please Emperor Xuanzong, had an extra-large infant wrapping made, and wrapped the obese An in it, causing much laughter among the ladies in waiting and eunuchs. When Emperor Xuanzong asked what was going on, Yang Guifei's attendants joked that Yang Guifei gave birth three days before and was washing her baby Lushan. Emperor Xuanzong was amused by the comic situation and rewarded both Yang Guifei and An greatly. Thereafter, whenever An visited the capital, he was allowed free admittance to the palace, and there were rumors that he and Yang Guifei had an affair, but Emperor Xuanzong discounted the rumors. Yang Guifei's cousin, Yang Guozhong, had been serving—remotely—as commander of Jiannan Circuit (; headquartered in modern
Chengdu,
Sichuan). In 752, following
Nanzhao incursions against Jiannan Circuit,
chancellor Li Linfu wanted to send Yang Guozhong to Jiannan to personally supervise defenses against the Nanzhao attacks. Yang Guifei interceded on Yang Guozhong's behalf, and Yang Guozhong did not actually report to Jiannan. Li Linfu soon died, and Yang Guozhong became chancellor. ==Death==