The Westerner is a 1940 American film directed by William Wyler and starring Gary Cooper, Walter Brennan, and Doris Davenport. Written by Niven Busch, Stuart N. Lake, and Jo Swerling, the film is about a self-appointed hanging judge in Vinegaroon, Texas who befriends a saddle tramp who opposes the judge's policy against homesteaders. The film is often remembered for one of Walter Brennan's best performances, as Judge Roy Bean, which led to his winning his record-setting third Academy Award for Best Supporting Actor. James Basevi and Stuart N. Lake also received Academy Award nominations for Best Art Direction, Black and White and Best Story respectively

More Info: en.wikipedia.org