After working herself to the bone and dying from an all-nighter, office worker Zhou Yan transmigrated into the lowest-ranking clerk in the Ministry of Justice of the Great Zhou Dynasty. He had planned to coast through life, but discovered that his former-life talent for organizing files let him run circles around everyone in an era where the laws were a mess. From anonymous reports to fabricated chains of evidence, he used modern big-data thinking to shift the balance of power at court, step by step. His colleague Zhao Xian seemed carefree, but was actually the last surviving heir of the previous dynasty. They schemed against each other before becoming allies bound by life and death. The Ministry of Justice's Vice Minister Gu Qingwu treated him like a pawn, Consort Cui Jin wanted to recruit him, and Old Li the jailer secretly slipped him a knife. Rolling through the mire of political intrigue, Zhou Yan gradually grew from a petty official anyone could push around into a powerful minister capable of keeping the emperor awake at night.