A 68-year-old patient went on a violent rampage through a Minnesota hospital on Sunday, injuring four nurses in a terrifying attack that ended with the patient’s death.

In dramatic video footage released by police on Thursday, Charles Emmett Logan is seen wielding a metal bar that he had taken from his bed at St. John’s Hospital in Maplewood, Minn., as nurses and other patients scramble to get out of his path.

Logan had been hospitalized days earlier because of a sudden onset of episodes of confusion, according to the Maplewood Police Department.

“The staff, nobody expected that this was going to be the outcome,” Maplewood Police Chief Paul Schnell told The Washington Post in an interview. “Folks knew, and family knew, that he was struggling.”

But, Schnell said, “nobody expected this violent episode.”

Two of the injured nurses were hospitalized, one with a collapsed lung. A nurse who wasn’t hospitalized was eight months pregnant, according to KMSP-TV in Minneapolis.

One patient who was recovering from an appendectomy ran to help, the Fox affiliate reported.

“I was sound asleep in bed and I heard screams,” Adam Linn told KMSP. “There was blood everywhere. Outside my reach were nurses laying in the hallway and a guy beating them with a medical device.”

Logan fled the hospital with the weapon and was found about three blocks away by officers responding to the scene.

They fired a Taser at him, but it missed. Two deputies brought Logan to the ground and handcuffed him; moments later he became unresponsive, police say.

According to the Minnesota Bureau of Criminal Apprehension, which is investigating the incident, officers performed CPR at the scene, and Logan was transported back to St. John’s Hospital, where he was pronounced dead.

One officer with the Maplewood Police has been placed on a standard administrative leave while the investigation is ongoing. Two Ramsey County sheriff’s officers who responded to the scene have also been placed on administrative leave.

The Ramsey County Medical Examiner’s Office is conducting an autopsy.