Ohio school shooter T.J. Lane will spend the rest of his life in prison for the deaths of three students last year, a judge ruled Tuesday.

Lane entered the courtroom wearing a button-down shirt, but took it off early in the hearing to reveal a white T-shirt with the word “killer” written on it, according to CNN affiliate WJW. The attire was similar what he was wearing when arrested by police shortly after the killings.

Given the opportunity to speak to the court, Lane responded to the grieving families with two brutal sentences: “The hand that pulls the trigger that killed your sons now masturbates to the memory. Fuck all of you.” He then gave them the finger.

He smiled and smirked during much of the hearing, WJW reported, laughing when the prosecutor described him as an “evil person.”

Lane declined to allow his attorneys to present evidence on his behalf at the sentencing hearing before Geauga County Common Pleas Judge David L. Fuhry.

Lane pleaded guilty last month to three counts of aggravated murder, two counts of attempted aggravated murder and weapons-related charges in the February 27, 2012, shooting at Chardon High School in northeastern Ohio.

After the sentencing, defense attorney Ian Friedman said Lane’s comment to the families was a “very difficult statement to hear.”

Lane’s sister, Sadie Lane, pleaded for compassion and prayers for her family a well as for those of the victims.

“Many families were damaged that day. Our family was too,” she said.

T.J. Lane was known by many around Chardon High, 30 miles east of Cleveland. But at the time of the shooting, he was there to be transported to Lake Academy Alternative School in nearby Willoughby.

Lake Academy describes itself as a school for “at-risk” students who are “reluctant learners” struggling with problems such as substance abuse and mental health issues.

After the shooting, an assistant football coach chased Lane out of Chardon High, and police arrested him nearby a short time later.