Following the amnesty for Liangshan, Yan Qing participates in the campaigns against the Liao invaders and rebel forces in Song territory, which the outlaws are ordered to undertake to atone for their crimes.