A modern protagonist transmigrates into the body of Li Juji, the legitimate son of the Duke of Wei. His original self was framed for harassing the Grand Princess and sentenced to death, then thrown into the imperial prison. His enemy, Lü Liang, comes to provoke him in prison. Li Juji uses his chains to take Lü Liang hostage and binds himself to a Fun-Seeker System. Using the Grand Princess's hidden illness as leverage, he demands an audience with the empress. After being appointed a third-rank commander, he is given seven days to act. His first target is his enemy, Lü Ci, the Minister of Justice. With the Pacification Office as his blade, he begins a crusade to investigate corruption and reform the Great Xia court.