Wen Yan is the Minister of Revenue, one of the three ministers summoned to Wenhua Palace. He supports the conservative view that a woman divorcing her husband would lead to family unrest and chaos in the world. He is privately criticized by Chu Liuzheng for his hypocrisy regarding his own son's misdeeds. He is among the officials who initially oppose the princess's divorce but eventually submits to the emperor's will.