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

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