選挙に

in the election

→ 選挙
phrase Rare #20,533
in the election 選挙 means “election,” and に marks the election as the context or target of an action, as in 選挙に勝つ (“win the election”).
JA: 彼は選挙に勝つ自信があります。
EN: He is confident that he will win the election.

彼は来年の選挙に立候補するだろう

He will probably run in next year's election.

彼は前に州知事選挙に立候補した

He ran for governor four years ago.

個人的に言えば選挙に誰が勝って大した違いはないと思います

Personally, I don't think it makes much difference who wins the election.

彼女は市長選挙に成功した

She won the mayoral election.

トム選挙に行かなかったのよ

You know, Tom didn't vote.

その雄弁候補者選挙に楽勝した

That eloquent candidate won the election by a landslide.