After serving as a federal prosecutor, Peter Anderson carved out a successful career as an environmental and white-collar criminal defense attorney in Asheville, North Carolina. Then he gave it all up to move in-house.

Miami-based Carnival Corp. offered him a challenge he couldn’t refuse: become its first chief ethics and compliance officer and fix the cruise line’s compliance system that was so broken a federal judge once threatened to jail its top executives for repeatedly polluting the ocean.