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

Authorities say 69-year-old Mario Sanabria was in his apartment on Brook Avenue in Mott Haven when police showed up at around 4 a.m.

The officers were there to execute a search warrant for drugs and weapons, according to sources, looking for Miguel Daniel Conde.

Once inside, police say the officers were confronted by Sanabria, who lived in the apartment, armed with a machete-like weapon.

"Upon entering the apartment, two members of the team went to the rear bedroom, where they were confronted by a male brandishing a machete-type sword with a two-foot blade," said NYPD Chief of Patrol Terrence Monahan. "The uniformed officers ordered the subject to drop the weapon, and he refused to comply."

Police say Sanabria continued to approach, prompting the lead officer to fire one round, striking the man in his chest.

Sanabria was pronounced dead at Lincoln Hospital. Investigators say he was not the focus of the search warrant.

No officers were injured.

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

Police say the ESU officers did not have body cameras or tasers.

About two hours after the shooting, police detained Conde outside the building.