Yanmen Pass
While at Northern Han, he took on the surname "Liu", having been adopted by Northern Han's founding emperor Liu Chong as a grandson. After pledging allegiance to Emperor Taizong of Song, he was stationed at Song's northern border with the Khitan-ruled Liao Dynasty, where, in 980, he played an instrumental role in expelling a major Liao invasion in Yanmen Pass.