HOBOKEN, N.J.—Ravi Bhalla will become Hoboken’s first Sikh mayor after being targeted by racist flyers.

The City Council member topped five other candidates on Tuesday. He will succeed Dawn Zimmer, who decided not to seek a third term.

Bhalla had been the subject of anonymously distributed flyers that labelled him a terrorist. The flyers featured a picture of Bhalla with the message “Don’t let TERRORISM take over our Town!” The Indian-American politician called the flyers troubling in a Twitter post but said “we won’t let hate win.”

Bhalla has said he plans on prioritizing infrastructure, commuting and open space.