Although his crimes are egregious and he is regarded as a colossal threat by the government, Song Jiang harbours the wish to serve the Song Empire. He crafts a slogan Deliver Justice on Heaven's behalf (替天行道) to signal that Liangshan is committed to just causes and is led by people loyal to the emperor. After many attempts, including enlisting the help of Li Shishi, a courtesan patronised by Emperor Huizong, Song Jiang finally wins amnesty for Liangshan. But the emperor sends them on a series of expeditions against invaders from the Liao Empire and rebel forces in Song territory to prove their loyalty. The last of these, which is against the rebel Fang La, is highly costly, with at least two thirds of the 108 heroes killed in action or by disease.