Which emperor in history did Yang Guifei marry?

Yang Guifei married Li Longji, Emperor Xuanzong of the Tang Dynasty.

Yang Yuhuan, a court musician and dancer in the Tang Dynasty, is beautiful in appearance, good at singing and dancing, and fluent in melody. Her musical talent is rare among the queens of past dynasties, and she is praised by later generations as one of the four beauties in ancient China. She was born in an official family, and her father, Yang Xuanyan, was a manager in Zhou Shu. First of all, she is Princess Li Mao, the son of Emperor Xuanzong of the Tang Dynasty. After being ordered to become a monk, he was canonized as a imperial concubine by his father, Emperor Xuanzong of Tang Dynasty.

After the Anshi Rebellion, Emperor Xuanzong of the Tang Dynasty fled Chang 'an and went to Majipo. The Sixth Army refused to advance, saying that it was Yang's connection with the conference semifinals that led to the Anshi Rebellion. Xuanzong killed Yang to stop the morale of the army. The Sixth Army refused to go any further, saying that Yang was your concubine's cousin, and her cousin was guilty, and so was her cousin. The imperial concubine was also hanged in the temple.

Extended data:

In the 28th year of Kaiyuan, Yang Yuhuan was called into the palace, and Tianbao was officially conferred as the imperial concubine in the 4th year. From then on, I began a special pet life of eating at the same table and sleeping in the same bed with Xuanzong. "But his love for 3,000 people is concentrated on one person" is a high generalization.

The Book of the New Tang Dynasty records that Yang Guifei is "good at singing and dancing, familiar with melody, wise and alert". This is exactly what Xuanzong, who is quite accomplished in music, demanded. It is said that Xuanzong liked Cai Yu very much, and the imperial concubine seemed to know fairly well and performed very well. Whenever the imperial concubine danced "colorful feathers", Xuanzong played drums with great interest, and they cooperated very tacitly.

The two also personally taught the disciples of Liyuan to play this song. It can be said that the red line of music firmly binds two people with the same interests and hobbies, and gives them a solid love foundation.

References:

Baidu Encyclopedia-Yang Yuhuan