Megyn Kelly weighed in tonight on "The O'Reilly Factor" about the news that a revenge porn website owner has been sentenced to 18 years in prison.

Kelly said that Kevin Christopher Bollaert created ugotposted.com, which allowed people to post explicit images of ex-girlfriends and ex-wives without their permission in order to get revenge. Bollaert's website required the posting to include the person's full name, age, location and Facebook profile link. 

The 28-year-old created a second website where he would solicit payments from those women who wanted to have the photographs and information deleted, Kelly added. 

"It's a great ruling," she said. "He could have gotten probation. And even the prosecutor was asking for 10 years. So that gives you a feeling of how seriously the judge took this case, and hopefully, it will send a message."

Bill O'Reilly added that the judge was good and that we have to stop this kind of stuff on the Internet.

Watch the video above.