A police detective killed in an attack that also left five others dead last week is to be laid to rest.

Funeral services for Jersey City Police Detective Joseph Seals are scheduled for Tuesday morning.

The 40-year-old married father of five was killed in a confrontation a week ago with two attackers who then drove to a kosher market and killed three people inside before dying in a lengthy shootout with police.

Bay View Cemetery is seen in Jersey City, N.J., Wednesday, Dec. 11, 2019. The two gunmen in a furious firefight that left six people dead in Jersey City clearly targeted a Jewish market, the mayor said Wednesday, amid growing suspicions the bloodshed was an anti-Semitic attack. The shooting began near the cemetery, where Det. Joseph Seals, a 40-year-old member of a unit devoted to taking illegal guns off the street, was killed while trying to stop "bad guys," Police Chief Michael Kelly said without elaborating. (AP PhotoSeth Wenig)

Bay View Cemetery is seen in Jersey City, N.J., Wednesday, Dec. 11, 2019. The two gunmen in a furious firefight that left six people dead in Jersey City clearly targeted a Jewish market, the mayor said Wednesday, amid growing suspicions the bloodshed was an anti-Semitic attack. The shooting began near the cemetery, where Det. Joseph Seals, a 40-year-old member of a unit devoted to taking illegal guns off the street, was killed while trying to stop "bad guys," Police Chief Michael Kelly said without elaborating. (AP PhotoSeth Wenig)

Jersey City Director of Public Safety James Shea called Seals “the ultimate detective or officer we would point to to tell young officers, ‘this is how you should behave.’”

Authorities haven’t disclosed why Seals was in the location he was at the time he was killed, or what happened during the confrontation at a cemetery about a mile from the market.

Jersey City officials have said Seals led the department in removing illegal guns from the streets in recent years. In 2008, he was credited with saving a woman from a sexual assault inside her own home on Christmas Eve.

A piece of police tape is seen by Bay View Cemetery in Jersey City, N.J., Wednesday, Dec. 11, 2019. The two gunmen in a furious firefight that left six people dead in Jersey City clearly targeted a Jewish market, the mayor said Wednesday, amid growing suspicions the bloodshed was an anti-Semitic attack. The shooting began near the cemetery, where Det. Joseph Seals, a 40-year-old member of a unit devoted to taking illegal guns off the street, was killed while trying to stop "bad guys," Police Chief Michael Kelly said without elaborating. (AP PhotoSeth Wenig)

A piece of police tape is seen by Bay View Cemetery in Jersey City, N.J., Wednesday, Dec. 11, 2019. The two gunmen in a furious firefight that left six people dead in Jersey City clearly targeted a Jewish market, the mayor said Wednesday, amid growing suspicions the bloodshed was an anti-Semitic attack. The shooting began near the cemetery, where Det. Joseph Seals, a 40-year-old member of a unit devoted to taking illegal guns off the street, was killed while trying to stop "bad guys," Police Chief Michael Kelly said without elaborating. (AP PhotoSeth Wenig)

Besides killing Seals, David Anderson and Francine Graham killed three people inside the deli in the Greenville section of Jersey City, including the owner’s wife, a store worker and a shopper. The pair also are believed to have killed a livery driver who was found dead in the trunk of a car in nearby Bayonne the weekend before the kosher market shootings.