The Ringo Kid, an antihero
It's interesting that people often think that the "antihero" originated in the mid-late 60s, but we see the whole "good badman" concept clear as day in 1939's "Stagecoach." Or consider Brando's Rio in "One-Eyed Jacks" from 1961.
In other words, the antihero has been around a long time.