A modern graduate student travels to the Great Yi Empire, becomes a tavern owner, and is framed by local bullies. He awakens a detection superpower. After magistrates die, he is promoted to county magistrate as a commoner. He applies modern knowledge to confront gentry, develop the county, and cut taxes. Facing scheming forces, he protects the people and builds a legendary career.