Eldest of the three Yan cousins from Fanzhou, admitted to the Guozijian with his brother Yan Zhenfeng. He came to the capital to pay New Year's respects and delivered news about Yan En's misconduct to Yan Peifeng. He was strict with his younger brother Yan Zhenfeng.