The New York City Police Department is investigating a deadly officer-involved shooting in the Bronx early Tuesday morning.

It happened just after 4 a.m. as officers were executing a drug and weapons search warrant at 230 Brook Avenue in Mott Haven.

Investigators say inside the third floor apartment they were confronted by a 38-year-old man with a two-foot long machete-like blade.

Police say the man was ordered subject to drop the weapon, but he refused.

They say he continued to approach, prompting the lead officer to fire one round, hitting the man in his chest.

The man was pronounced dead at Lincoln Hospital.

Police say an elderly man who was also inside apartment was uninjured, but removed to hospital for observation.

Police say the weapon was recovered at the scene.