Lin Fu, a scholar from a poor family in the Northern Song Dynasty, went to Beijing to take the exam with the help of his neighbors, but he encountered the dilemma of "the examiner was bribed" and "he was replaced by a rich man". With his true talent and practical knowledge, he was appreciated by the emperor in the palace examination and was awarded the title of editor of the Hanlin Academy. However, he was sent to the local government for offending the powerful. Lin Fu made great achievements in building water conservancy projects and punishing corrupt officials. After being recalled to the capital, he became involved in the dispute between "new laws and old laws". When he discovered that the man behind the imperial examination fraud case was a minister who opposed the new law, Lin Fu chose to stick to justice and help Wang Anshi implement the new law.