Hunter Moore, the man who created an infamous revenge porn site, was sentenced to more than two years in prison on Wednesday, according to the City News Service.

Moore was known as "the most hated man on the Internet" for creating IsAnyoneUp.com, where he publicly posted nude or compromising photos, uploaded by angry exes seeking revenge. His victims - the subjects of the photographs, who did not consent to having the photos posted online - were often identified by name, alongside their social media and contact information.

U.S. District Judge Dolly Gee sentenced Moore to 2 ½ years in federal prison, followed by three years of supervised release. While in jail, Moore must undergo a mental health evaluation. He also owes a $2,000 fine.

Moore faced a statutory maximum sentence of seven years, and a mandatory minimum of two years, the Department of Justice said.

Gee told Moore at his sentencing that he "must face the consequences of your own actions. Your poor judgment has caused much pain to your victims and your family," City News Service reported.

Although Moore became infamous as the "King" of revenge porn, his prison sentence is the result of a plea deal on two charges that have little to do with the core problems of revenge porn itself. He pleaded guilty in February to one count of unauthorized access to a protected computer to obtain information for purposes of private financial gain and one count of aggravated identity theft.

Those charges stemmed from a scheme between Moore and Charles Evens, a hacker who illicitly accessed email accounts in order to steal nude photos, which he then sold to Moore. Evens was sentenced to 25 months in prison and a $2,000 fine last month.

IsAnyoneUp.Com closed in 2012; Moore and his co-defendent were arrested in January 2014.

An October 2013 California law made revenge porn illegal in the state. In December of last year, Noe Iniguez became the first person to be convicted under that law after posting a nude photograph of his ex to the Facebook page of her employer. He was sentenced to a year in jail, according to the Los Angeles Times. At least 26 states now have revenge porn laws on the books, according to the Cyber Civil Rights initiative.