The Iron Sheriff is a 1957 Western film starring Sterling Hayden.
Benjie is placed under arrest. Newspaper publisher Phil Quincy demands to know what Walden said, but Sam wont say. Quincy and the sheriff are in love with the same woman, Claire, whose father was a lawman killed in the line of duty.Sam brings in a prominent lawyer, Roger Pollock, to defend his son and hires a detective, Sutherland, to help find the real culprits. In time, all evidence points to Benjie being the killer, and against his lawyers wishes, Sam testifies to what Walden told him. Benjie is found guilty and sentenced to hang. ........
Source: Wikipedia