Ravi, a former Rutgers University student, was convicted earlier this year of using a webcam to spy on his roommate, freshman Tyler Clementi while Clementi was embracing another man, identified only as M.B.

Superior Court Judge Glenn Berman, who presided over the trial, sentenced Ravi at the end of a hearing that stretched almost four hours. The judge went over the aggravating and mitigating factors before he imposed the sentence.

Ravi has also been fined $11,905 for cyberbullying, payable in $300 monthly installments. He will also have to attend alternate lifestyle counseling.

Ravi was sentenced to 30 days in jail on six counts but the sentence will run concurrently. Here is a breakdown of the sentence:

THE SENTENCING, COUNT BY COUNT

The following is a list of Ravi’s convictions, the degree charges and whether the count carries a presumption of jail time.

COUNT 2: Bias intimidation on Sept. 19, 2010, for setting up the camera to watch Clementi with another man, a move that made Clementi feel intimidated. (3rd degree)
• Maximum sentence: Up to 5 years in prison; no presumption of jail time.
• Actual sentence: Probation

COUNT 3: Invasion of privacy, for allowing Molly Wei and others to see Clementi and M.B. (3rd degree)
• Maximum sentence: Up to 5 years in prison; no presumption of jail time.
• Actual sentence: Probation

Dharun Ravi brought to tears by his mothers comments to courtDharun Ravis mother, Sabitha, addressed the court during an impact statement. Visibly upset, her comments brought defendant Dharun Ravi to tears. Ravi was found guilty for invasion of privacy against his roommate Tyler Clementi. Ravi was sentenced to 30 days in jail, community service, and a $10,000 fine. (Video courtesy of News12 TruTV/InSession)

COUNT 4: Bias intimidation, for knowing his conduct could intimidate Clementi and make Clementi feel he was targeted because he was gay. (2nd degree)
• Maximum sentence: Up to 10 years in prison with a presumption of incarceration, usually 5 to 7 years.
• Actual sentence: Probation

COUNT 5: Attempted invasion of privacy for attempting to set up camera again when M.B. visited Clementi in dorm room on Sept. 21, 2010. (4th degree).
• Maximum sentence: Up to 18 months in prison; no presumption of jail time.
• Actual sentence: Probation

COUNT 6: Bias intimidation for attempting to invade privacy with purpose to intimidate Clementi because of his sexual orientation. (3rd degree)
• Maximum sentence: Up to 5 years in prison; no presumption of jail time.
• Actual sentence: Probation

COUNT 7: Attempted invasion of privacy Sept. 21, 2010 for tweeting an invitation for people to watch the second visit. (3rd degree)
• Maximum sentence: Up to 5 years in prison; no presumption of jail time.
• Actual sentence: 30 days in jailDo you agree with the Dharun Ravi sentence?

COUNT 8: Bias intimidation. For tweeting an invitation for people to watch Clementi's Sept. 21, 2010 visit with M.B., thereby causing Clementi to feel intimidated. (2nd degree)
• Maximum sentence: Up to 10 years in prison with a presumption of incarceration, usually 5 to 7 years.
• Actual sentence: Probation

COUNT 9: Tampering with physical evidence on Sept. 22, 2010 tried to remove tweets connected to both viewings from his account. (4th degree)
• Maximum sentence: Up to 18 months in prison; no presumption of jail time.
• Actual sentence: Fourth-degree offenses that do not carry jail time

COUNT 10: Tampering with physical evidence on Sept. 22, 2010 by changing a tweet to appear he discouraged anyone from watching Clementi a second time. (4th degree)
• Maximum sentence: Up to 18 months in prison; no presumption of jail time.
• Actual sentence: Fourth-degree offense that does not carry jail time

COUNT 11: Hindering apprehension or prosecution on Sept. 22, 2010 for trying to erase and change tweets to keep from being caught. (3rd degree)
• Maximum sentence: Up to 5 years in prison, no presumption of jail time.
• Actual sentence: Fourth-degree offense that does not carry jail time

COUNT 12: Hindering apprehension or prosecution on Sept. 23, 2010 for trying to tell Molly Wei what to tell police. (2nd degree)
• Maximum sentence: Up to 10 years in prison with a presumption of incarceration; usually 5 to 7 years.
• Actual sentence: 30 days in jail

COUNT 13: Hindering apprehension or prosecution for not telling the complete truth to investigators on Sept. 23, 2010. (3rd degree)
• Maximum sentence: Up to 5 years in prison, no presumption of jail time.
• Actual sentence: 30 days in jail

COUNT 14: Witness tampering for trying to influence what Molly Wei told investigators. (3rd degree)
• Maximum sentence: Up to 5 years in prison, no presumption of jail time.
• Actual sentence: 30 days in jail