CBC reports that Riverdale star Ryan Grantham has been sentenced to life in prison for killing his mother.

About six months after pleading guilty to a second-degree murder charge for shooting his mom, Barbara Waite

The 24-year-old actor, whose credits include Riverdale, Supernatural, and Diary of a Wimpy Kid

Was sentenced to life in prison without the possibility of parole for 14 years on Wednesday in British Columbia, Canada Supreme Court in Vancouver.

While his mother was playing the piano in their Squamish townhouse, Grantham shot her in the back of the head with a.22 rifle.

The sentencing decision was impacted by the iZombie actor's sister's victim impact statement

In which she described the "life-shattering" ramifications of the crime on the rest of the Grantham family.

Ker summed out Grantham's pre-murder decline in her justifications, describing how he increasingly spent time watching violent films on the dark web and felt overwhelmed by suicidal and homicidal impulses.

Grantham showed genuine regret, the court observed, and it was a "saving grace" that the Unspeakable actor retained enough

"Attachment to reality" and "Psychological comprehension" to refrain from a shooting spree.

For the first 14 years of his sentence, Grantham will not be considered for parole.