In the original ending Hunt Bromley was arrested by the sheriff, but studio chief Darryl Zanuck was so enraged at this resolution, so director King and writer Johnson concocted the ending where Bromley is beat up by the sheriff and let go. That satisfied Zanuck more.
read more facts...