The 1959 film Anatomy of a Murder is a courtroom crime drama. It was directed by Otto Preminger and adapted by Wendell Mayes from the best-selling novel of the same name written by Michigan Supreme Court Justice John D. Voelker under the pen name Robert Traver. Voelker based the novel on a 1952 murder case in which he was the defense attorney.

Wikipedia: Anatomy of a Murder

Internet Movie Database: Anatomy of a Murder