Long Beach police Tasered a man in an attempt to get him to stop stabbing himself Thursday, but he ultimately died after officers were eventually able to disarm and handcuff him, police said today.

Police said the situation began around 1:49 p.m. Thursday when the man’s friend called them to say he had “threatened to kill himself and harm others,” the LBPD said in a statement Friday.

When police got to the scene on West 53rd Street near Long Beach Boulevard, they went into a home and discovered the man was “suffering from multiple self-inflicted stab wounds to his upper body,” the department said.

The man was bleeding profusely, and he continued to stab himself even as officers tried to convince him to drop the knife, according to the LBPD.

Police said officers then Tasered the man in an attempt to get him to drop the knife.

“After several minutes, officers were able to disarm the man,” police said.

After officers handcuffed the man, Long Beach Fire Department crews took him to a local hospital where he died, according to the department.

The Los Angeles County Medical Examiner-Coroner will determine the man’s cause of death. Because he died in police custody, the Los Angeles County District Attorney’s Office will also investigate, as is common when someone dies at the hand of police or while in their care.

Homicide detectives are also investigating, police said.

Long Beach to open 50 overnight parking spaces to unhoused people near the Queen Mary