In 986, the Song Dynasty armies embarked on a large-scale northern campaign to take the Sixteen Prefectures from Khitan-ruled Liao Dynasty.
At the border, Yang continued his father's tradition of instilling strong discipline in his troops by setting good examples.