《宋史·列传·卷十八》
太宗即帝位，任命他为门合门祗候，令他进攻梅山洞贼寇，大获全胜。
太宗即位，以为阁门祗候，令击梅山洞贼，破之。
After Emperor Taizong ascended to the throne, he appointed him as the gatekeeper of the imperial palace, and ordered him to attack the bandits of Meishan Cave, achieving a great victory.