A man who allegedly killed his sister-in-law and stabbed another man in Harlem on Wednesday night before being fatally shot by the police is an auxiliary NYPD officer and MTA employee, according to multiple reports.

The attacker, identified as 44-year-old Ubaldo Gomez, was killed by an NYPD sergeant during a “violent struggle” inside a Saint Nicholas Terrace home. Gomez is an MTA transit worker and an auxiliary NYPD officer licensed to carry a gun, police sources told the NY Times.

Officers responded to reports of a shooting at around 7 p.m. inside a fifth-floor apartment on Saint Nicholas Terrace. They found a woman bleeding on the floor of the residence, as the suspect attempted to stab another man with a kitchen knife, police said.

"The suspect was given numerous verbal commands to show officers his hands, the suspect armed with a knife attempted to stab that male," said NYPD Chief of Patrol Fausto Pichardo. "The sergeant then discharged his service weapon, striking the suspect in the torso."

Gomez died at the scene. The woman found bleeding on the ground — identified as Gomez's 45-year-old sister-in-law — was also pronounced dead from a gunshot wound.

The 39-year-old stabbing victim was rushed to St. Luke's hospital and is in stable condition, police said.

A bloody kitchen knife and a Glock pistol were recovered at the scene.

Another woman was found uninjured inside the apartment, and is believed to be Gomez's estranged wife, according to sources who spoke with CBS2.

Police did not immediately provide a motive for the attack or the names of the victim. A spokesperson for the MTA referred comment to the NYPD.

We'll update this story as more information becomes available.