In the fourth year of Tianbao (745), Emperor Xuanzong of the Tang Dynasty made Wei's daughter longevity a princess, and then became a noble lady. Since Emperor Xuanzong of the Tang Dynasty abolished the king and queen, Yang Guifei is equivalent to the queen.
Yang Yuhuan's natural beauty and superior educational environment make her have a certain cultural accomplishment, graceful personality, proficient in temperament, good at singing and dancing, and good at playing the pipa.
The ending of Yang Yuhuan
In the 14th year of Tianbao (AD 755), Fan Yang, Pinglu and Hedong engaged in an Anshi Rebellion in the name of Jun Qing and Anti-Yang Guo Zhong, and the soldiers directed at Chang 'an.
The following year, when Emperor Xuanzong of the Tang Dynasty fled with Yang Guifei and Yang to (now Chengdu, Sichuan) and passed through Mayi Post (now the west of Xingping City, Shaanxi Province), the imperial sergeant led by Chen unanimously demanded the execution of Yang and Yang Guifei, then defected and killed Yang with a knife.
Emperor Xuanzong of the Tang Dynasty said that the imperial concubine was innocent and should be pardoned, but the imperial soldiers all thought that the imperial concubine was the beauty of the country. The Anshi Rebellion was caused by the imperial concubine. Without punishing her, it would be difficult to comfort the morale of the army, boost morale and continue to surround the emperor.
Emperor Xuanzong of the Tang Dynasty accepted Gao Lishi's suggestion and had to give Yang a gift to protect himself. In the end, Yang Guifei was given a white silk and hanged under a pear tree in a Buddhist temple at the age of 38. This is the allusion in Bai Juyi's "Song of Eternal Sorrow": "A soldier in the army will be embarrassed if he doesn't move."
After the Anshi Rebellion was put down, Xuanzong returned to the palace and sent someone to look for Yang Guifei's body, but he didn't find it.
Reference to the above content: Baidu Encyclopedia-Yang Yuhuan