Hengli was the third son of Emperor Xuanzong of the Tang Dynasty and the seventh emperor of the Tang Dynasty (except Wu Zetian). His mother was Yuan Fei, a noble wife of Emperor Xuanzong of the Tang Dynasty in China. Born in Huayin, Hongnong.
In August of 7 10 (the first year of Tang Jingyun), Yang entered the East Palace and was named Liangyuan. At that time, Princess Taiping came to power, and she was very suspicious of Crown Prince Li Longji. There are many spies of Princess Taiping in the East Palace, which makes the East Palace panic. Later, Yang Liangyuan became pregnant, and Prince Li Longji was afraid of the power of Princess Taiping, so he plotted to abort the child. Later, when Li Longji personally boiled the medicine, he dreamed that the man of God covered the tripod. When he woke up, he told Zhang that Zhang praised it as a lucky dream: "destiny also", so Yang Liangyuan could give birth safely, which was later Su Heng.
At that time, the crown princess had no children, so Yang Liangyuan gave them to the crown princess for support. After Li Longji ascended the throne, Yang Liangyuan was made your wife. During the Kaiyuan period, Hengli was made a loyal monarch, and Yang Guikun gave birth to Princess Qin Ning. At that time, Zhang said that because of the contribution of dream interpretation, the princess wanted to marry Zhang's son Zhang.
In 729 AD (the 17th year of Kaiyuan), Yang Guikun died and was buried in Xiliuyuan.