After the Liangshan outlaws have been granted amnesty by Emperor Huizong, the emperor sends them on military campaigns to drive away the Liao invaders in the north and suppress the rebel forces on Song territory as a form of service to the Song Empire. The Liangshan heroes successfully defeated the Liao invaders, followed by Tian Hu and Wang Qing's rebel forces, without suffering much casualties. Tian Hu is captured by Liangshan's Featherless Arrow Zhang Qing after his defeat.