Term: anti-hero
Example: a few examples of the anti-hero include: [james bond], [wolverine], [han solo], clint eastwood's 'the man with no name', [batman], [indiana jones], [rambo], and [malcolm x], to name a few
Definition: the anti-hero is the hero who does the right thing, albeit with tactics that aren't always what you would call ethical