A gunman killed two children and a police officer in Ocean County, New Jersey, before police shot him dead, prosecutors said. The shootings began at a home in Stafford Township late Tuesday. Officer Evan Sands was shot as he tried to stop the suspect's car.

The Ocean County Prosecutor's Office named the suspect as Landy Acevedo-Rodriguez, 40, of Barnegat, CBS News reports.

Officers called to a home on Sloop Road found four people shot, CBS News reports. Two children died at the scene. The prosecutor's office said they were his daughter and 16-year-old stepson.

Two adults were also shot, CBS News reports. They were the children's mother, his wife, who has left the hospital, and the stepson's grandmother, who remains hospitalized.

The suspect fled before police arrived, and officers sent a description of his car to nearby towns, CBS News reports. In Barnegat Township, Sands tried to stop the car and was shot. He was flown to a hospital and pronounced dead.

The suspect then fled into Lacey Township and fired at officers, who shot back and killed him, CBS News reports. Four Lacey officers were hospitalized with injuries that were not life-threatening, police said.

In an interview with CBS News, a relative of the children said the suspect was their father and was going through a divorce.

The New York Post spoke with the wife's sister. She said the suspect once threatened her father that "he would kill them and kill himself as well" if he was cut out of the family. "None of it makes sense," she said.

Sands, 35, joined the Barnegat Township Police Department in January 2025, CBS News reports. Police Chief Jason Carroll said officers were "mourning the loss of a fellow officer and a dear friend."

The state attorney general's office is investigating the police shooting of the suspect, as state law requires, CBS News reports.

What we know: Prosecutors say a gunman killed two children and Officer Evan Sands before police killed him. What we don't know: What set off the shootings, and how the wounded grandmother is doing.