China's first recorded chapter novel praising the peasant uprising was the Water Margins of the Ming Dynasty. This novel was based on the uprising of Song Jiang and other 108 righteous men at the end of the Northern Song Dynasty. It described the rebellion of the righteous men in Liangshanbo, praised their righteous deeds and bravery, praised their loyalty and wisdom, and reflected the darkness of society and the sufferings of the people at that time. It became a classic in the history of Chinese literature.