The story begins in Heming Town. Ma Xiaoli, a young man from the city, gets involved in a court conspiracy by mistake and embarks on a road of ups and downs. He teamed up with his best friend Qin Luoshui and the chivalrous girl Hua Chenyun. Under the pressure of the powerful temple official Duan Wushuang, he experienced life and death tests, power struggles and interesting adventures. The three of them grew up together in humorous interactions. They had not only the love of sons and daughters, but also brotherly loyalty and feelings of family and country. In the end, they used wisdom and humor to break the dilemma, witness the end of the turbulent dynasty, and each gained their own growth and destiny.