There Was a Crooked Man... (1970)
There Was a Crooked Man... is a 1970 western starring Kirk Douglas and Henry Fonda and directed by Joseph L. Mankiewicz. It was written by David Newman and Robert Benton, their first script to be produced after Bonnie and Clyde.
More at Wikipedia.