A man armed with a dagger who allegedly charged at officers responding to a 911 call in Brooklyn Sunday night is in stable condition following a police-involved shooting.

The 911 call that came in that evening reported an "emotionally disturbed person" at a home on Avenue T near East 68th Street in Bergen Beach, police said.

That caller was referring to a 27-year-old man who lived in the residence, according to the Daily News. A witness reportedly saw the man kicking car doors in the area, and a city sanitation worker called the cops. The 27-year-old then ran into his home.

RELATED: Brooklyn man found in bay with cement shoes was asphyxiated: Medical examiner

When responding officers approached the door just after 7 p.m., they saw the man armed with a dagger, police said. He then exited the building and charged at one of the cops. A second officer fired his gun, striking the man in the torso.

The man was taken into custody and transported to Brookdale Hospital in stable condition. Four police officers were transported to Methodist Hospital for observation.

Authorities recovered the dagger at the scene, which the Daily News described as a "replica from the Alec Baldwin movie 'The Shadow.'"

NYPD Assistant Chief Steven Powers, who commands Patrol Borough Brooklyn South, also described the weapon, according to the Daily News, as a "replica of the 'Phurba' — a magical, flying dagger from the 1994 film." He added that it's 8 to 9 inches long, with a 4- to 5-inch blade.

The investigation is ongoing.