The mayor of a New Jersey city said Wednesday that gunmen targeted a kosher market during a shooting that killed six people.

The furious shooting filled the streets of Jersey City with the sounds of heavy gunfire for hours Tuesday just across the Hudson River from New York City. A police officer, three bystanders and two suspects all died.

More Images
Law enforcement at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

The mayor of a New Jersey city said Wednesday that gunmen targeted a kosher market during a shooting that killed six people.

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Jersey City Mayor Steven Fulop said in a tweet Wednesday morning that a review of security cameras show that the gunmen targeted the market. He says two officers one block away immediately responded and engaged with the gunmen.

Anxious families wait for their children to exit Whitney M. Young Jr. Community School after the school was taken off lock-down near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Anxious families wait for their children to exit Whitney M. Young Jr. Community School after the school was taken off lock-down near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Law enforcement are seen at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

Law enforcement are seen at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

New Jersey Gov. Phil Murphy speaks with media near the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

New Jersey Gov. Phil Murphy speaks with media near the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple  people, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple people, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Jersey City Police Chief Michael Kelly said the officer was trying to stop some “bad guys" near a cemetery. The gunmen then drove a stolen rental van to another part of the city and engaged police in a lengthy shootout from inside the kosher market.

Law enforcement at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

Law enforcement at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

Jersey City Mayor Steven Fulop said in a tweet Wednesday morning that a review of security cameras show that the gunmen targeted the market. He says two officers one block away immediately responded and engaged with the gunmen.

The slain officer, Detective Joseph Seals, 40, was credited by his superiors with having led the department in the number of illegal guns removed from the streets in recent years, and might have been trying to stop an incident involving such weapons when he was cut down by gunfire that erupted near a cemetery, authorities said.

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Anxious families wait for their children to exit Whitney M. Young Jr. Community School after the school was taken off lock-down near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Anxious families wait for their children to exit Whitney M. Young Jr. Community School after the school was taken off lock-down near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Law enforcement are seen at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

Law enforcement are seen at the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

New Jersey Gov. Phil Murphy speaks with media near the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

New Jersey Gov. Phil Murphy speaks with media near the scene following reports of gunfire, Tuesday, Dec. 10, 2019, in Jersey City, N.J. AP PhotoEduardo Munoz Alvarez)

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple  people, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)

Bystander watch as emergency responders work near the scene of a shooting in Jersey City, N.J., Tuesday, Dec. 10, 2019. Authorities say multiple people, including a police officer and three bystanders, have been killed in a furious gun battle that filled the streets of Jersey City, New Jersey, with the sound of heavy gunfire for hours. The dead include two suspects. (AP PhotoSeth Wenig)