 As Carl Foreman (qv)s script bore certain similarities to John  Cunninghams story "The Tin Star", producer Stanley Kramer (qv)  bought the rights to Cunninghams novel to protect the production  against accusations of plagiarism.