A violent "whirlwind of events" in a St. Cloud Hospital room early Sunday morning left two men dead, including a 24-year veteran of the Aitkin County sheriff's office.

The man who shot him was tased by another sheriff's deputy and died at the scene, authorities said.

"A suspect being treated at St. Cloud Hospital shot and killed a sheriff's deputy who had been monitoring the welfare of the suspect who was a subject of an investigation outside the St. Cloud tri-county area," said Jill Oliveira, spokeswoman for the Bureau of Criminal Apprehension (BCA).

The BCA said the incident was confined to the suspect's hospital room, and no one else was injured.

The deputy was identified as Steven M. Sandberg, 60, who had been with the Sheriff's Office since 1991 and working as an investigator for the past 20 years.

The suspect was Danny Leroy Hammond, 50, BCA Superintendent Drew Evans said during a news conference in St. Cloud. Hammond, of rural Aitkin, was in the hospital for medical reasons following a domestic situation, Evans said.

Hammond was not in police custody, Evans said, but he was being monitored by law enforcement "at the request of St. Cloud Hospital." He was not handcuffed, Evans added.

A struggle ensued after the suspect got out of his bed, Evans said, and Hammond got hold of Sandberg's gun and squeezed off several rounds.

A deputy from the same Sheriff's Office tased Hammond, and the suspect "became unresponsive," Evans said.

Life-saving efforts were begun in the emergency room, but Hammond died, the superintendent said.

Aitkin County Sheriff Scott Turner said the incident was a "whirlwind of events in [a] very tragic situation."

Sandberg leaves behind a wife and daughter, Turner said.

A hearse carrying Sandberg's body from St. Cloud to the Ramsey County Medical Examiner's office on Sunday afternoon was escorted by dozens of police vehicles in a motorcade along Interstate 94.

Hammond's criminal history includes felony convictions for burglary and fleeing custody, both cases from roughly 25 years ago.

Law enforcement scanner conversation of the unfolding pre-dawn scene was captured by the MN Police Clips website.

"We do have an officer down in South 527," came the word from the hospital to dispatch. "We have deputy that is shot … the shooter is in handcuffs."

Dispatch described the shooter as "an inmate ... and the inmate is now in custody."

An officer on the scene said the "guy got gun away from deputy, shot deputy" and the suspect went into cardiac arrest.

The weapon was recovered, the officer added.

In a statement issued Sunday afternoon, Gov. Mark Dayton said, "I deplore this terrible, senseless murder. ... This tragedy reminds us that Minnesota's law enforcement officers risk their lives every day and night to keep us safe."