Around 9:15 p.m., Baraka declared on his website: “Victory is ours!! We are the mayor.” He also issued several tweets declaring victory.

He later went on to address his supporters.

“It’s never been about me. It’s always been about we,” Baraka said as he claimed victory before a standing-room-only crowd of thousands at the Robert Treat Hotel in Newark.

He pledged to take all the residents of Newark with him straight to the mayor’s office, 1010 WINS’ Derricke Dennis reported.

“We have to be the mayor that cares for all of the people. We have to be the mayor that makes sure that we fights for all of the people; that keeps our schools open and makes sure they’re good,” Baraka said.

Baraka won 53 percent to 46 percent over former state Assistant Attorney General Shavar Jeffries, Dennis reported.

There was no immediate comment from Baraka’s challenger, former state Assistant Attorney General Shavar Jeffries.

“My mother was killed when I was young, so I understand now what it means to be touched by violence,” Jeffries said.

Baraka, 44, son of the late poet Amiri Baraka, has the support of the labor-connected New Jersey Working Families organization, which has paid for ads that accuse Jeffries of being a pawn of moneyed outside interests.

“I mean, if people don’t know the other guy, that’s why they have to spend all the money to trash me, because they don’t know him,” Baraka said.

Baraka has said Jeffries’ campaign is being funded by political bosses with ties to Gov. Chris Christie. Jeffries admits getting money from many groups, but says he isn’t close to Christie.

At times, the campaign has gotten ugly, including fist fights among supporters, a torched campaign bus and so many campaign signs destroyed that Quintana put out a reminder that defacing signs is illegal.

The two candidates also have significantly different stances on several issues.

On how to fight violent crime, Jeffries wants more police officers while Baraka wants the city to rely on existing officers and state police to fight crime.

Other cities across the state, including Trenton, Paterson, Bayonne, Long Branch and Ocean City, also held elections Tuesday.

In Paterson, former mayor Joey Torres defeated City Council President Andre Sayegh, despite strong Democratic Party backing for Sayegh, according to a published report.

In Bayonne, preliminary results showed neither incumbent Mark Smith nor his closest challenge, police Capt. James Davis, captured 50 percent of the vote, according to a published report.