The man convicted of killing his wife and a New York state trooper nearly two years ago has will spend the rest of his life in prison.

Justin Walters was given a life sentence without the possibility of parole in Jefferson County Court Tuesday afternoon.

He was found guilty last month of all 52 counts that stemmed from an incident in July 2017 when he shot his wife multiple times at their home in Theresa, and then shot and killed Trooper Joel Davis when he responded to the scene and was approaching the home. 

During his trial, Walters' defense claimed that he was suffering from PTSD and was not in his right frame of mind when he opened fire during the domestic dispute. Prosecutors said there is no evidence that PTSD led to the crime.

Prosecutors added that his wife was shot 13 times in an attempt to torture her. Trooper Davis was shot through the heart when he arrived to investigate.

Walters was also found guilty of attempted murder for the shooting of Rebecca Finkle and two children, who were inside a shed nearby the house while he shot aimlessly.