GOLDEN, Colo. (AP) — A 40-year-old Denver-area man convicted of killing his wife has been sentenced to life in prison.

Jurors deliberated for three hours before finding Gary Nickal, of Westminster, guilty Thursday of murder in the April 28, 2016, death of 35-year-old Molly Nickal.

READ MORE: New Video Emerges Of Aurora Police Stop, Triggering Internal Investigation: 'I Was Petrified Of That Gun'

Prosecutors say that two days before Molly Nickal was killed, she contacted an attorney to begin the process of having her husband served with divorce papers and getting sole custody of the children. She also was planning to leave and take the children with her.

READ MORE: Rep. Lauren Boebert Used Campaign Funds For Rent And Utilities, New Filing Shows

Gary Nickal approached her in the bathroom and shot her twice with a shotgun, including once in the head. The couple’s three young children were in the house when police arrived.

Jurors rejected Gary Nickal’s insanity defense.

MORE NEWS: Face Masks, Vaccination Rate Dictate COVID Outbreaks In Schools Across Colorado

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)