What kind of character plays a minor role in a narrative and is defined by having attributes that contrast those of the protagonist?

A.
antagonist
B.
antihero
C.
secondary
D.
foil