Thomas E. Dewey first came to prominence as a prosecutor of Murder, Inc. and other organized crime cases, before being elected to become the 47th governor of New York .