anti-hero
🇺🇸
/ˈænti hɪrəʊ/
🇬🇧
/ˈænti hɪərəʊ/
A character in a story who is the main focus, but doesn't have the good qualities of a typical hero. They might be like an average person or even have bad moral traits.
In the movie, the detective with a troubled past is an anti-hero fighting against crime.