[6] On 10 Feb 736,[7] Li Mao married the beautiful Yang Yuhuan (楊玉環), daughter of Yang Xuanyan (楊玄琰), who was a census official of Shu Prefecture (now 蜀州, in modern Chengdu, Sichuan).
After his mother's death, Yang Yuhuan came into Xuanzong's favor and the emperor decided to take her as his consort.
However, since Princess Yang was already the wife of his son, Emperor Xuanzong stealthily arranged for her to become a Taoist nun with the tonsured name Taizhen in order to prevent criticisms that would affect his plan of making her his concubine.
Yang then stayed for a brief while as a Taoist nun in the palace itself before Emperor Xuanzong made her an imperial consort.
Xuanzong bestowed Li Mao with a new wife, the third daughter of Wei Zhaoxun (韦昭训) on 28 August 745.