 In winter 580, after Yuchi had already been defeated and committed suicide and Sima had fled to Chen, Yang Jian sent the general Liang Rui (梁睿) against Wang.Liang defeated Wang and captured him and Gao Anagong, and then executed both of them.Yang subsequently awarded Gao Anagong's mansion to the former Northern Qi official Li Delin.