NEW YORK – A Manhattan teen who gave a principal two black eyes for touching his headphones will avoid jail after a judge sentenced him to a “conditional discharge” last week.

Judge Edwina Richardson-Mendelson granted 19-year-old Luis Penzo youthful status and sentenced him to a conditional discharge on Friday, a move that essentially lets him off the hook if he stays out of trouble for three years, the New York Post reports.

MORE NEWS: Know These Before Moving From Cyprus To The UK

“Penzo, who sauntered into Manhattan Supreme Court Friday wearing a white T-shirt and red gym shorts, offered no apology for the October 2016 beatdown of Principal Matthew Tossman,” according to the news site.

Tossman serves as principal of Manhattan Early College School for Advertising, which is housed in the same building as Murry Bergtraum High School that Penzo attended.

Police allege Penzo was blasting his headphones when Tossman asked him to turn them down. Penzo dropped the headphones to the ground with the music still booming, and then attacked the principal when he attempted to pick them up.

“He grabbed by Beats and was very aggressive so I lost control,” Penzo said, according to court records. “I hit him two times, he never hit me. I don’t have injuries.”

Both shots landed on Tossman’s face, leaving him with two black eyes and a large gash that required seven stitches.

Penzo’s attorney previously said the teen lashed out because his mother died of a brain aneurysm the year prior, according to The Epoch Times.

MORE NEWS: How to prepare for face-to-face classes

The teen’s friends also defended him, claiming it’s a perfectly natural reaction to smash someone in the face if they touch things that don’t belong to them.

“Luis is quiet. He keeps to himself,” Ijanae Caballero told CBS New York last fall. “Like I expect if you touch someone and break someone’s stuff, I mean, that would’ve been a good reaction for me.”

Another student, Christiana Olagunju, also seemed more concerned about Tossman touching Penzo that her classmate’s violent reaction.

“You’re not supposed to put hands on a student. No, none of that. You’re not supposed to do any of that. That’s prohibited,” she said. “So for you to do that, you get what you get.”

On Friday, Judge Mendelson praised Penzo for his participation in the Family’s Rising Program, an alternative option for juvenile offenders.

“You make us very proud,” Mendelson said of the teen’s compliance with the program, according to the Post.