What was the name of the Cagney/Bogart western, where Cagney was the good guy and Bogart was the bad guy?

History Trivia: What was the name of the Cagney/Bogart western, where Cagney was the good guy and Bogart was the bad guy?