 In 945, after a Southern Tang siege of Jian, Wang Yancheng, who by then was carrying the title of Emperor of Min (as Wang Xi had been assassinated by his generals Zhu Wenjin and Lian Chongyu, who themselves were later killed in a countercoup led by Lin Renhan (), surrendered to the Southern Tang commanding general Cha Wenhui (), ending Min.Cha treated Pan Chengyou with respect.Southern Tang's emperor Li Jing subsequently commissioned Pan as the deputy minister of military supplies (衛尉少卿, "Weiwei Shaoqing"), and then the minister of vassal relations (鴻臚卿, "Honglu Qing").