Li Wei, a master's graduate in modern maritime law, accidentally transmigrates into the seventeenth-century Caribbean, where he becomes a notorious little pirate who is about to be executed. Drawing on knowledge far ahead of its time, a cool head, and a gambler's nerve, he dances on the edge of a blade, rising from death row to become the feared and beloved “Pirate King.” He establishes history's first pirate code and founds a “Pirate Republic,” using sheer strength and a firm set of rules to write his own legend in that savage age.