The victim was identified as Steven Sandberg, a 24-year department veteran

An Atkin County sheriff’s deputy in Minnesota was fatally shot at a local hospital when a patient grabbed his gun on Sunday morning.

Jill Oliveira, a spokeswoman for the Bureau of Criminal Apprehension (BCA), told the Minneapolis Star Tribune that the suspect was being treated at St. Cloud Hospital.

“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,” Oliveira said.

The deputy was identified as Steven Sandberg, who had been working with the Atkin County sheriff’s office since 1991 and working as an investigator for the past 20 years. BCA Superintendent Drew Evans identified the suspect in a press conference as Danny Leroy Hammond, 50. Hammond, who lived in rural Atkin, had reportedly been brought into the hospital following a domestic situation. A struggle ensued inside his hospital room and he got a hold of Sandberg’s gun, firing off several rounds. Hammond was not handcuffed at the time of the incident.

Hammond also died in the hospital after a different deputy used a Taser to subdue him. Officials said the suspect “experienced a medical emergency” after her was Tasered, according to CNN.

Sandberg, 60, leaves behind a wife and a daughter, according to the newspaper.

Gov. Mark Dayton issued a statement following the news, extending his condolences to Sandberg’s family.

“I deplore the terrible, senseless murder of Deputy Sheriff Steven Sandberg. On behalf of all Minnesotans, I extend my deepest condolences to his family,” he said. “This tragedy reminds us that Minnesota’s law enforcement officers risk their lives every day and night to keep us safe.”

The Atkin County sheriff department did not immediately respond to a request for comment.