NEW BRUNSWICK - A judge has ruled that the former Rutgers student accused of using a webcam to spy on his roommate's intimate encounter with another man should be given the man's name.

The judge also ruled today that the identity of the man, identified in court papers as M.B., may not be given to anyone other than defendant Dharun Ravi and his attorneys.

Meanwhile, Dharun Ravi turned down a plea bargain at the hearing. The deal would have meant Dharun Ravi would have served no more than five years in prison.

The 19-year-old faces 15 charges, including bias intimidation and invasion of privacy.

Ravi could face 10 years in prison if a jury convicts him of bias intimidation, which is a hate crime. A trial date has been set for Feb. 21.

Prosecutors say his roommate Tyler Clementi killed himself by jumping off the George Washington Bridge days after learning about the incident.

Lawyer: Former Rutgers student didn't mean to spy on roommateParents of Rutgers student intend to sueNJ lawmakers pass tougher bullying lawsProsecutor: Tyler Clementi may have complained about roommateHundreds gather for anti-bullying meeting at Rutgers UniversityLawyers: Student charged in Rutgers case innocentNJ poised to crack down on bullyingVigil held for Rutgers student who committed suicideNYC officials confirm suicide of Rutgers student