 After realizing Yan Yan's intention, Wenzi placed Huizi's rightful heir, the eldest son by his main wife (a "di" son), in the position reserved for the heir.In Confucian temples, Yan Yan's spirit tablet is placed the fourth on the west, among the Twelve Wise Ones.During the Tang dynasty, Emperor Xuanzong posthumously awarded Yan Yan the nobility title of Marquess of Wu ().