During Tang Dynasty's 2nd reign, Wu Ruyi (Fan Bingbing) enters the palace at age 14 as an innocent Cairen (Talented Lady) and aspires to serve Emperor Taizong (Zhang Fengyi) as his consort. The Emperor Taizong soon takes notice of her and falls in love with her, inciting many to grow jealous of her. They set out to destroy her numerous times by falsely accusing her of theft, murder and treachery. She survives by her wits and intelligence but is kept at arm's length by Emperor Taizong due to a prophecy foretelling a woman of Wu stealing the Tang Dynasty. When Emperor Taizong dies, she is sent to a monastery to become a nun. However, the Emperor's youngest son Li Zhi (Aarif Rahman), who later becomes the Emperor Gaozong, has been in love with her since he was a child. He brings her back to the palace and makes her his concubine. During her time as a minor consort to Emperor Taizong, she learned how an effective Emperor rule his court. Using that knowledge, she helped Li Zhi take back power from his Regent, and herself into the position of Empress meanwhile revenging for her daughter's death. She co-ruled with Li Zhi until his death, after which she ruled the country in her own right.