NEW YORK — Anthony Weiner got into a shouting match with a Jewish voter while campaigning for mayor on Wednesday after the man called him “disgusting” and said he should “stay out of the public eye” for the sexting scandal that has derailed his bid for City Hall.

The confrontation happened as Weiner was campaigning in the Borough Park section of Brooklyn — a heavily Jewish neighborhood where he was also heckled in July after he admitted he had continued to engage in sexual chats with women he met online even after he was forced out of Congress for similar behavior.

The exchange, which was captured on video by a reporter with the Yeshiva World, occurred as Weiner was exiting a local bakery. The former congressman — his mouth full of food — began shouting at the man, who called him a "deviant." According to a separate video of the incident released by the Weiner campaign — which you can see below — the man also referenced Weiner's wife, longtime Hillary Clinton aide Huma Abedin, saying "and you're married to an Arab."

“You’re my judge? You’re my judge? What rabbi taught you that?” Weiner yells, getting increasingly defensive. “What rabbi taught you that you’re my judge?”

“You’re fine,” the man replies. “You talk to God and work out your problems, but stay out of the public eye.”

The exchange went on for several minutes, with Weiner yelling at one point, “And you’re perfect? You’re going to judge me? ... Go visit with your rabbi.”

The exchange comes as Weiner is trailing badly in the polls ahead of next week’s Democratic mayoral primary. A Quinnipiac University poll found him with just 7 percent support among likely primary voters.

After the video was posted on YouTube, Weiner responded on Twitter. “In defense of me," he wrote, "the guy waited til I took a bite of honey cake to take a run at me.”

Untitled from Anthony Weiner on Vimeo