Officials have released the name of a home invasion suspect who was shot and killed by a northern New Jersey police officer who was trying to apprehend him.

Passaic County prosecutors say 31-year-old John Murray of Haledon was armed with a knife when he was confronted early Saturday by the Paterson officer, whose name has not been disclosed. The officer had approached Murray because he fit the description of a man wanted in connection with the home invasion.

A struggle ensued, and the officer fired one round which hit the suspect.

The man was taken to a hospital, where he died a short time later. The officer also was taken to the hospital for an evaluation, but further details on his condition have not been disclosed.

Copyright 2014 The Associated Press. All rights reserved.