王仙芝
In spring 878, the Tang general Zeng Yuanyu (曾元裕) defeated Wang Xianzhi and killed him in battle. Shang Rang took Wang Xianzhi's remnants and joined forces with Huang, serving under Huang thereafter.