The attorney for the former Rutgers University student who was convicted of secretly recording his roommate who later committed suicide will argue on Wednesday that the verdict should be thrown out.

Dharun Ravi, who was convicted in 2012 of recording an intimate encounter between another man and his Rutgers roommate, Tyler Clementi, initially received a 30-day jail sentence for the crime, NBC reported. But now his lawyer argues that the guilty verdict should be thrown out.

RELATED: Dharun Ravi says he is 'very sorry' about Tyler Clementi

Last year, New Jersey’s Supreme Court ruled that a portion of the state’s bias intimidation law, which was used in Ravi’s conviction, was invalid, reported. This ruling will likely be cited as the reason for tossing the conviction.

Ravi was also convicted of invasion of privacy, NBC added, for his role in secretly recording the intimate encounter involving his roommate. Clementi jumped off the George Washington Bridge after the recording came to light.

RELATED: Former Rutgers student Dharun Ravi sentenced to 30 days in prison

The state has appealed Ravi’s sentencing, saying that the 30-day punishment is too lenient as he had originally faced up to 10 years in prison, according to