JACKSON (WWJ/AP) – A judge has ordered a Jackson County teenager to up to 40 years in prison in the shooting death of his 20-year-old brother.

Circuit Judge John McBain sentenced 17-year-old Riley Spitler on Wednesday to 20 to 40 years in prison, according to The Jackson Citizen Patriot. He was convicted in January of second-degree murder in the December 2014 death of Patrick Spitler.

Authorities say Riley Spitler told detectives he pointed a handgun at his brother, took a bullet out of the chamber and said, “Let’s see if it’s your lucky day.” Spitler say he didn’t expect the gun to fire.

TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.