(CBS) Dharun Ravi, a former Rutgers University student convicted of spying on his roommate, has been sentenced to 30 days in jail plus three years probation.

In addition to the 30-day jail term and probation, Judge Glenn Berman sentenced the 20-year-old to 300 hours of community service. He was also ordered to pay $10,000 towards a program to help victims of bias crimes and was told to enter into counseling.

Read more: CBS NY