Former Rutgers student Dharun Ravi, who was convicted in March of a hate crime for using a webcam to spy on his roommate’s same-sex intimate encounter two years ago, was sentenced Monday by a New Jersey judge to probation, community service and 30 days in jail.

Ravi’s roommate, Tyler Clementi, committed suicide several days after Ravi invited friends over for a “viewing party” to watch Clementi’s encounter with another man, and Ravi’s subsequent trial attracted national attention and sparked a debate about gay teen suicides and cyberbullying.

After his month-long trial, Ravi was convicted of 15 criminal charges including four counts of the hate crime of bias intimidation, invasion of privacy and seven counts that accused him of trying to cover his tracks by tampering with evidence. He could’ve faced years in prison and/or deportment back to his native India.

In handing down his verdict, Judge Glenn Berman addressed Ravi and said, “I heard this jury say guilty 288 times. 24 questions, 12 jurors, that’s the multiplication. And I haven’t heard you apologize once.” He also added that while he didn’t believe Ravi “hated Tyler Clementi,” he did believe Ravi “acted out of colossal insensitivity.”

Berman then sentenced Ravi to a 30-day jail term along with three years of probation and 300 hours of community service. The judge also said he will recommend that Ravi not be deported.

The prosecution, which sought a significant prison term, indicated it will appeal the judge’s sentence.

Watch as the verdict is read.

More From AM 1050 KSIS