The Daliang Empire was in turmoil and the political situation was turbulent. Liu Huaijin, a young man from a poor family, vowed to embark on an official career to seek revenge because his father was framed. In the battles in the temple and the chaos in the world, he relied on wit and humor to avert danger. He met the heroine Shen Qingqi and the hero Wei Lanzhou, and had many battles of wits and courage with the powerful minister Han Buyi. Along with the change of power, the attack and defense of the city, and the entanglement of love and hatred, Liu Huaijin and his partners witnessed the change of imperial power and the rise and fall of the family and country. In the end, Liu Huaijin wielded power and made choices between power and ideals, emotion and sacrifice, writing a machinations legend that combines laughter and tears, life and death, and choices.