A 76-year-old woman allegedly shot and killed her terminally ill husband at a Daytona Beach, Florida, hospital following a pact that police said the couple made several weeks ago.

Officers were called to AdventHealth Daytona Beach on Saturday about a report of a person shot, the police department said in a Press release On twitter.

When the police arrived, Ellen Gilland was barricaded in the 11th floor bedroom of her husband, Jerry Gilland. Law enforcement used a distraction device «so that she would lower the gun long enough for us to hit her with less lethality,» Daytona Police Chief Jakari Young said at a news conference. She was taken into custody and faces a first degree murder charge.

The woman told authorities that because of her husband’s health issues, they had a discussion about three weeks ago and decided that if he «continued to get worse, I wanted her to get it over with,» Young said.

«Initially, I think the plan was a murder-suicide, so she killed him and then she was going to shoot herself, but she decided she couldn’t go through with it,» he told reporters.

Young said the husband knew the shooting would happen today. It is not clear how long he was hospitalized.

Staff and patients in surrounding rooms were evacuated during the standoff. Young said the 11th floor is for terminally ill patients and praised officers for getting people out safely.

«This was kind of a logistical nightmare, so again I’m very, very proud of my team,» he said. «Almost all of the patients on that floor are on ventilators, so they didn’t have the space to evacuate that entire floor, so they evacuated the rooms where it was most important to get them out of the way.»

Police previously said no one else was hurt.

Young called the incident «tragic» and urged anyone in trouble to seek help.

«It just goes to show that none of us is immune to the trials and tribulations of life,» the boss said.

If you or someone you know is in crisis, please call 988 to reach the Suicide and Crisis Lifeline. You can also call the network, formerly known as the National Suicide Prevention Lifeline, at 800-273-8255text HOME to 741741 or visit TalkingSuicide.com/resources for additional resources.

Courtney Brogle contributed.