Wen Tingyun (812-c.870), or Wen Qi, was a renowned poet in late Tang Dynasty. With the courtesy name of Feiqing, Wen was a native of Qi in Taiyuan. Born to a declining aristocrat family he had been frustrated all his life because of numerous failures in imperial exams. He had worked in local government as minor officials and in local schools as teacher. He was a master of poetry and music. His poets were mostly related to women's feelings, inspired by his dissolute life. He left more than 60 poems, which was compiled in Wen Tingyun's Collection and Jinlian Collection.