DENVER (CBS4) – The man who shot and killed his wife after eating a marijuana edible will be sentenced Friday.

A deal reached with the District Attorney will get Kristine Kirk’s husband, Richard Kirk, to plead guilty to second degree murder, dropping charges related to first degree murder.

READ MORE: Snow, Rain A Welcome Sight In Colorado But Drought Still A Big Problem

Kristine Kirk (credit: Family of Kristine Kirk)

Richard Kirk will face between 25 and 30 years in prison as part of this plea.

It’s a deal the family is relieved to see come through because it avoids the pain a trial could bring.

READ MORE: Colorado Community Uses 'The Social Dilemma' To Ignite Conversation About Unity, Change

Richard Kirk (credit: Denver Police Department/CBS)

The defense tried to argue that the edible marijuana Kirk had before the shooting impaired him so that he wasn’t in the mindset to knowingly decide to kill his wife.

Prosecutors say he remembered the code to a locked gun safe and pressed the weapon to his wife’s head and fired it while she was on the phone with 911.

Kristine Kirk said on that phone call that he used marijuana and was acting erratically and had a gun.

MORE NEWS: COVID In Denver: Vaccine Focus Continues In Underserved Communities

RELATED: Edibles Lawsuit: Manufacturer Failed To Warn Of Side Effects