Answer: A - influence.
In the context "...he couldn't sway voter opinion, and he lost the election.", the word sway means influence. The politician struggled against the allegations against him, trying to influence and change the voter opinion, but he was unable to do it because the evidence was too strong, and he lost the election.
Sway - to persuade (influence ) someone to believe or do one thing rather than another.