A man known for setting up a revenge porn website has been charged with allegedly hacking into e-mail accounts to steal nude photos.

Hunter Moore, 27, of Woodland, Calif., is known for his now defunct website isanyoneup.com.

He and 25-year-old Charles Evens were arrested by the FBI Thursday morning.

Both men have been charged in a 15-count indictment, which includes conspiracy, seven counts of unauthorized access to a protected computer to obtain information, and seven counts of aggravated identity theft, the FBI said in a release.

Moore's website allowed people to post nude or sexually-explicit photos to get revenge on former lovers, but the FBI allege in order to populate the site, Moore instructed Evens to hack into hundreds of e-mail accounts to get more photos.

Moore is accused of posting those illegally-obtained photos on the site.

If convicted, Moore and Evens could face up to 54 years in prison.

In 2011, Moore told a Toronto Marlies hockey player U.S. legislation protected him from being sued because photos showing a naked Mike Zigomanis were user-submitted.

"The site is all user submitted except for the content on there (that Moore posts) and I take full responsibility for that," Moore said at the time.

The website was shut down in April when an anti-bullying group bought the domain.

On Moore's Twitter account, his last tweet before he was taken into custody was directed at troubled Canadian pop singer Justin Bieber, who was arrested in Miami on Thursday.

"I'm coming to bust you out lil n----," he tweeted.