Authorities in New Jersey took the “person of interest” in a deadly stabbing attack into custody Sunday night after a standoff.

Newark police arrested 26-year-old Jeremy Arrington after he barricaded himself inside a home in the city. Arrington was being sought in connection to the deadly knife attack that left two children and a woman dead as well as three others injured.

According to WABC, Arrington was considered to be armed and dangerous and SWAT teams converged on his home. Arrington gave himself up without incident after about 30 minutes negotiating with police.

A possible motive for the attack has not been disclosed.

Arrington has not been charged in the stabbings, but is also wanted on charges of sexual assault and aggravated assault for an unrelated incident on Oct. 9, Acting Essex County Prosecutor Carolyn A. Murray said at a news conference Saturday.

Prosecutors on Sunday released the names of the three who were killed. They said 8-year-old Aerial Little Whitehurst and 11-year-old Al-Jahon Whitehurst both died at a hospital shortly after the attack. A county spokesman said the two Newark children are related, but he declined further comment.

The three injured — a 29-year-old woman, a 13-year-old boy and a 13-year-old girl — remained hospitalized in critical but stable condition.

Newark Mayor Ras Baraka on Saturday called the attack "one of the most tragic and savage" he's seen. The mayor pleaded for anyone with information to come forward, NJ.com reported.

"We have to get him immediately before he hurts someone else," he said. "As long as he's on the street, nobody is safe."

The Associated Press contributed to this report.