A New Jersey appeals court can now decide whether a former Rutgers University student convicted of spying on a roommate who later committed suicide will be retried, be resentenced or have his conviction invalidated.

Dharun Ravi (DAHR'-uhn RAH'-vee) was convicted in 2012 of bias intimidation and invasion of privacy. He faced up to 10 years in prison but received 30 days in jail.

The case raised issues about cyberbullying and homophobia on college campuses.

Ravi secretly broadcast online images of Tyler Clementi in an intimate encounter with another man. Clementi later jumped off the George Washington Bridge.

Clementi's parents attended Wednesday's proceeding.

Ravi's attorneys argue a change in state law since the trial should invalidate his conviction. The state contends the judge erred by giving Ravi too lenient a sentence.

A ruling is expected in three or four months.