The Water Margin is an adaptation of one of the Four Classical Chinese Novels. The story, set in the Song dynasty, tells of how a group of 108 outlaws gather at Mount Liang, before they are eventually granted amnesty by the government and sent on campaigns to resist foreign invaders and suppress rebel forces.