The female lead is low-born and falls in love with a prince. After entering the palace as a candidate in the selection, the third male lead writes her a poem, and she is granted in marriage to him. After she attends a banquet in the palace, the emperor takes a liking to her. The third male lead is sent away to serve as an official, while the female lead is sent to a Taoist temple. She escapes when the emperor is attacked, but the prince catches her and brings her back.