Six students were hurt.
He was convicted and sentenced to 20 years in prison. He's getting out three years early.
The shooting came exactly a month after the deadly Columbine High School shooting.
Solomon used a sawed-off rifle in the rampage.
Witnesses said he surrendered to an assistant principal with a tearful: "Oh, my God, I'm so scared."
During his sentencing, Solomon apologized to his victims.
"I apologize to the court and everyone who was hurt. I'm sorry for what I did," Solomon said at the beginning of the hearing. "I don't understand why I did it. I see myself as a little confused and I'd like to get help."
Victims who were in the courtroom hugged after the sentence was announced.
Michael Cheek, whose son Jason was shot twice, described the sentencing as "bittersweet."
"I feel sorry for T.J. and his family, but he did the crime and he should be punished for it," Cheek said.