In 619, he and Pei Ji were in charge of interrogating one of the major initial contributors to Emperor Gaozu, Liu Wenjing, who had been arrested on suspicion of treason. Both he and Li Gang (), as well as Li Shimin, tried to intercede on Liu's behalf, but Emperor Gaozu nevertheless executed Liu on Pei's recommendations.
In 619, he and Pei Ji oversaw the questioning of one of the primary initial supporters of Emperor Gaozu, Liu Wenjing, who had been detained on suspicion of disloyalty. Both he and Li Gang, as well as Li Shimin, attempted to plead Liu's case, but Emperor Gaozu ultimately carried out Liu's execution based on Pei's suggestions.