An Arizona man was sentenced Monday to four years of federal probation after he pled guilty to effectively holding a corporate website hostage and redirecting it to a gay porn site for several days in 2015. The defendant, Tavis Tso, was also ordered to pay over $9,000 in restitution.

According to Tso’s June 2017 plea deal with federal prosecutors, the story began in 2011 when he was working for an unnamed IT company in Phoenix. Tso set up the company’s account with GoDaddy, presumably for domain name and/or hosting services.

Nearly four years later, this company decide to update its contact information on the website and asked Tso for the login information on the GoDaddy account. He lied and told the company he didn’t have the relevant information and couldn’t help them. Then, Tso seemingly decided to expand what otherwise would have been an unremarkable incident.

Over a period of weeks, Tso logged in to the GoDaddy account and changed the contact information several times to two fake Microsoft e-mail accounts that he himself had created.

Finally, on June 12, 2015, Tso altered the domain records to redirect the website to a blank page, and he also disabled the company’s e-mail addresses. That same day, Tso told company staffers that he could help them fix the problem—for the low price of $10,000.

When they refused, he redirected the site to a gay pornographic website. Somehow, after several days—court documents are vague on this point—the company’s site was returned to normal.

Then the company seemingly got in touch with federal authorities in Arizona, who brought a criminal case against Tso in December 2016. He was charged under the Computer Fraud and Abuse Act (CFAA)—the notorious anti-hacker statute that dates back to the 1980s—and wire fraud. Prosecutors did not seek prison time for the 39-year-old. The CFAA count was dropped under the terms of the plea deal.

Matthew Binford, an assistant United States Attorney, wrote in a sentencing memorandum:

Given the fact that this appears to be a one-time lapse in judgment, a term of probation is the best way to address the seriousness of this offense, while affording adequate deterrence to future criminal conduct and protecting the public from future crimes.

Tso did not immediately respond to Ars’ request for comment.