
Judge's assistant Leo Lee is soul-transported into the body of the foolish son of Lysander Lee, the Chancellor of the Grand Court in the Great Xia Dynasty, who shares his name. Upon waking, he finds himself bound to the Codex System with only three days left to live. To extend his lifespan, Leo Lee embarks on a path of judging cases with the system's aid, navigating through crises with his wife, Caelia Song.