Empress Yuanxian

Her great-grandfather Yang Shida (楊士達) was a high -level official during Sui and had been given the title Prince of Zheng (鄭王).

Her sister was the wife of former Crown Prince Li Chongjun who was beheaded in a power struggle with Empress Wei, Princess Anle, and imperial consort Shangguan Wan'er.

[3][4] Lady Yang became a concubine of Li Longji, the son of Emperor Ruizong with the title of liangyuan (良媛).

She became pregnant when Li Longji was locked in a power struggle with his aunt, Emperor Ruizong's sister Princess Taiping.

Princess Taiping had placed many associates in the crown prince's palace to spy on Li Longji and that she did not want him to have many sons.