The Lawyer (1970)
The Lawyer is a 1970 courtroom drama film loosely based on the Sam Sheppard murder case, in which a physician is charged with killing his wife following a highly publicized and sloppy investigation. The film was directed by Sidney J. Furie and starred Barry Newman as the energetic, opportunistic defense attorney Tony Petrocelli. Diana Muldaur co-starred as Ruth Petrocelli. The film is the source of the role Newman reprised in the TV series Petrocelli.
More at Wikipedia.