Antagonist

Typically the “foe” of the story, an antagonist is any character that is opposing the protagonist(s).