CHICAGO — A man was fatally stabbed while intervening in an attempted attack in the city’s Edgewater neighborhood late Wednesday night.

Police said Thursday that one person is in custody and charges are pending.

According to police, a man and woman were on a sidewalk near the 5200 block of North Sheridan Road around 11:41 p.m. when a woman approached them with a knife.

According to police, a third man intervened and engaged in a physical altercation with the armed woman when she began stabbing him in the chest.

The man was transported to Saint Francis Hospital where he was pronounced dead. Police did not report any other injuries.

News of the fatal assault came as a shock to many Edgewater neighbors on Thursday, including Analise Rodriquez.

“Right here? Last night? Oh, that’s terrible. Oh my goodness,” she told WGN News.

WGN News also spoke with a close friend of the victim, who did not wish to be named. He said that the victim was a good guy and hearing about his passing still doesn’t seem real.

“I know his heart was in the right place. He was just trying to help that couple out, I think,” the man said. “Like I’ve still been knocking on his door.”

Ald. Harry Osterman (48th Ward) also spoke about the tragedy.

Read more: Latest Chicago news headlines

“I think we have a safe community but situations like last night highlight that there is violence in every one of our 77 neighborhoods,” Osterman said.

The investigation is ongoing.