In the chaotic times of the late Sui and early Tang Dynasties, Wang Teng, a refugee, used his current historical knowledge to understand the five surnames and seven hopes, and pretended to be the Taiyuan Wang family. After a series of operations, he successfully integrated into the Taiyuan Wang family and was recognized by Li Yuan.