The Hennepin County medical examiner's office has identified a man fatally shot by Minneapolis police as he was stabbing another man in an apartment building early Monday.

Moments before Raul Salvador Marquez Heraldes, 50, of Minneapolis, was shot, he was pleading for help and saying that someone was out to harm his family, a manager of the apartment building said.

Marquez Heraldes died of multiple gunshot wounds.

One officer at the scene suffered a broken bone and was treated, police said, declining to be more specific about the injury or how it occurred. The man who was stabbed was taken to Hennepin County Medical Center. His prognosis is unknown.

Terry Haigler, who is a live-in manager at an apartment building in the 2100 block of Minnehaha Avenue S., said he heard loud noises before dawn Monday from his neighbor's apartment. When Haigler knocked on the door, Marquez Heraldes came out asking for help.

"He kept saying, 'Please help me. Someone is trying to kill my family,' " Haigler said. "He was highly agitated."

According to police, when officers encountered Marquez Heraldes, he ran into a nearby apartment inside the two-story building.

Officers attempted to speak with Marquez Heraldes, and after hearing cries for help, forced their way into the unit and saw him stabbing a man. Officers responded by shooting the suspect.

Haigler said police tried to negotiate with Marquez Heraldes as he was inside the other apartment, but he wanted to speak with his wife.

"Then he started yelling, 'I'm going to kill this man, I'm going to kill him,' " Haigler said. "The tenant started screaming and [police] had no choice."

Marquez Heraldes was taken to HCMC and died there.

The Minnesota Bureau of Criminal Apprehension and the medical examiner are investigating.

Karen Zamora • 612-673-4647

Twitter: @KarenAnelZamora