Shangguan Wan'er is a Chinese television series based on the life of Shangguan Wan'er, a female official in the court of Wu Zetian, the only female emperor in Chinese history.
Starring Ruan Danning as the titular character, the series was first aired in mainland China in December 1998.
After Shangguan Yi tried to depose Empress Wu, his whole family was executed except for Wan'er and her mother, Lady Zheng.
At the age of 15, Wan'er entered the Imperial Palace to become the study mate of the Crown Prince, Li Xian.
Li Xian was deposed from his position as Crown Prince and was sentenced to death.