Dodge City (1939)
Dodge City is a 1939 American Western film directed by Michael Curtiz and starring Errol Flynn, Olivia de Havilland, and Ann Sheridan. Based on a story by Robert Buckner, the film is about a Texas cattle agent who witnesses the brutal lawlessness of Dodge City, Kansas and takes the job of sheriff to clean the town up. Filmed in early Technicolor, Dodge City was one of the highest-grossing movies of the year.
More at Wikipedia.