After King Gyeongjong's death in 981, Queen Heonjeong started to live in her own mansion, which was close to Wang Uk's, so the two often met and spent time together.[citation needed] Eventually, Heonjeong had a son with him, Wang Sun (왕순; the future Hyeonjong of Goryeo), but died during childbirth.[6]
Wang Uk was exiled to Sasu-hyeon (now Sacheon, South Korea) because of his affair with the widowed queen, who was also his niece. Wang Sun was entrusted to one of King Seongjong's nannies, but missed his father, so the king decided to send Sun to live with Wang Uk.[citation needed] Together, they lived in Gwiyangji until Uk's death on 24 July 996.[citation needed] Wang Sun returned to the capital in 997, and, when he ascended to the throne, granted a posthumous name to his father.
^There was a theory said that Anjong was born to one of his father's concubine, Lady Daeryangwon. But, he was raised by the queen since child and regarded the queen as his own mother.[citation needed]