 After Dou was defeated and killed by Tang in 621, Xu briefly re-submitted to Tang, but rose again later that year when Dou's general Liu Heita the Prince of Handong rose against Tang, allying himself with Liu.He claimed the title of Prince of Lu.Tang forces defeated both Liu and Xu in 622, and Xu was killed in flight in 623, ending Xu's state of Lu.