Antagonist is the synonym. The antonym would be protagonist, usually known as hero.
the answer is the second one.