CHARDON, Ohio -- T.J. Lane was sentenced to life in prison today for

in the Chardon High School cafeteria Feb. 27, 2012 -- and then he gave a statement that stunned the courtroom.

Lane had remained silent during the actual sentencing, but when he did speak it caused gasps throughout the courtroom and some in the gallery began to cry.

Watch the video here, but some viewers may find some of the language offensive.

Before his sentence, Lane, wearing a white T-shirt with the word "Killer" written across the front, gave a short statement, some of it unintelligible. He ended with, "F--- all of you," then raised his middle finger toward the victims' family members.

Geauga County Common Pleas Judge David Fuhry sentenced Lane for the slayings of Daniel Parmertor, 16; Demetrius Hewlin, 16; and Russell King Jr., 17, in a rampage that has tortured a small town and its students for the past year.