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

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