Springfield Rifle (1952)
Springfield Rifle is a western film, directed by André de Toth and released by Warner Bros. Pictures in 1952. The film is set during the American Civil War and stars Gary Cooper, with Phyllis Thaxter and Lon Chaney Jr.. It is described as "essentially an espionage thriller that pits a Union intelligence officer (Gary Cooper) against a Confederate spy ring."
More at Wikipedia.