State v. Gaines

2026 UT App 44
CourtCourt of Appeals of Utah
DecidedMarch 26, 2026
DocketCase No. 20240045-CA
StatusPublished

This text of 2026 UT App 44 (State v. Gaines) is published on Counsel Stack Legal Research, covering Court of Appeals of Utah primary law. Counsel Stack provides free access to over 12 million legal documents including statutes, case law, regulations, and constitutions.

Bluebook
State v. Gaines, 2026 UT App 44 (Utah Ct. App. 2026).

Opinion

2026 UT App 44

THE UTAH COURT OF APPEALS

STATE OF UTAH, Appellee, v. JAMES ERWIN GAINES, Appellant.

Opinion No. 20240045-CA Filed March 26, 2026

Second District Court, Ogden Department The Honorable Cristina P. Ortega No. 211900210

Emily Adams, Freyja Johnson, and Rachel Phillips Ainscough, Attorneys for Appellant Derek E. Brown and Marian Decker, Attorneys for Appellee

JUDGE RYAN M. HARRIS authored this Opinion, in which JUDGES GREGORY K. ORME and RYAN D. TENNEY concurred.

HARRIS, Judge:

¶1 Using specialized software known as “Torrential Downpour,” officers got a hit indicating that two specific groups of files of child pornography—or child sexual abuse materials (CSAM)—had been downloaded onto devices linked to James Erwin Gaines. But when officers arrived at Gaines’s house and searched his devices, they were unable to locate the CSAM files they thought they’d find. Still, based on the evidence they had from Torrential Downpour, and based on a number of potentially incriminating admissions Gaines made during a police interview, the State charged Gaines with twelve counts of sexual exploitation of a minor. After a trial, a jury convicted Gaines as charged. State v. Gaines

¶2 Gaines appeals his convictions, first challenging the trial court’s denial of his motion to prevent the State from presenting evidence about what Torrential Downpour had indicated related to his devices, as well as his motion for additional discovery related to Torrential Downpour. Gaines also contends that his trial attorney rendered constitutionally ineffective assistance in various respects. While we reject the ineffective assistance claims, we find merit in Gaines’s first argument and conclude that, on this record, the trial court erred in allowing the State to present evidence of Torrential Downpour’s results.

¶3 But because Gaines admitted that he had knowingly possessed one of the two groups of files, this error harmed Gaines only with respect to the other group of files. We therefore affirm Gaines’s seven convictions related to the file group he admitted to knowingly possessing, but we reverse his five convictions related to the other file group, and we remand this case to the trial court for further proceedings, including potentially a new trial, on those five counts.

BACKGROUND 1

The Incident

¶4 In April 2019, a police officer (Sergeant) was running the Torrential Downpour 2 software when he received an alert that it

1. “In an appeal from a jury trial, we review the record facts in a light most favorable to the jury’s verdict and recite the facts accordingly, and we present conflicting evidence only as necessary to understand issues raised on appeal.” State v. Kufrin, 2024 UT App 86, n.1, 551 P.3d 416 (cleaned up).

2. This case involves several terms with which readers may not be familiar, including “BitTorrent,” “torrent,” and “Torrential Downpour.” As explained by witnesses at trial, “BitTorrent” is a (continued…)

20240045-CA 2 2026 UT App 44 State v. Gaines

had recorded an IP address that had downloaded some known CSAM, including a group of files collectively named “Tropical Cuties.” Sergeant also learned that the IP address was assigned to a local internet service provider. Sergeant subpoenaed the provider and discovered that the IP address in question was assigned to Gaines. After that, Sergeant did “some investigation” to determine where Gaines lived and “to identify who live[d] in the home” and their “patterns of life,” because if he was “going to serve a warrant,” he wanted Gaines to be home at the time. This investigation continued for about two months.

¶5 During this time, Sergeant continued “running Torrential Downpour” and received notice of “other downloads from that same IP address” that were flagged as CSAM. One of those downloads was a set of files named “Siberian Mouse,” which Sergeant recognized as a “known series” of CSAM. The folder names within the Siberian Mouse files “were all in Russian” and contained photos of “the same female,” who was identified as “Mashka.” Sergeant “viewed each file” and confirmed that the files contained CSAM.

¶6 Sergeant then obtained a search warrant and— accompanied by members of the FBI’s Child Exploitation Task Force—served that warrant at Gaines’s house. When Sergeant and the other officers arrived, Gaines answered the door and agreed to speak to Sergeant. After reading Gaines his Miranda rights, Sergeant and another officer (Detective) interviewed Gaines, while the other officers searched the house.

peer-to-peer file-sharing program available to anyone on the internet. A “torrent” is a file or folder that is downloaded through use of a file-sharing network, such as BitTorrent. And “Torrential Downpour” is a law-enforcement-specific version of BitTorrent that allows law enforcement to become one of the “peers” and search for known CSAM files on peer devices.

20240045-CA 3 2026 UT App 44 State v. Gaines

The Police Interview and the Search of Gaines’s Devices

¶7 During the interview, Detective informed Gaines that he wanted to discuss “the child porn [that was] being downloaded and viewed.” Gaines acknowledged that he had a pornography habit, which he characterized as “disgusting and embarrassing,” but he said it was how he had been “coping with shit.” Gaines acknowledged that he had downloaded quite a bit of pornography, but he claimed it had all been legal post-pubescent pornography, saying that “prepubescent sounds crazy.” He characterized himself as an “ephebophile”—a person who is attracted to post-pubescent but still teenage girls. He clarified, “I will admit that I’m attracted to girls in the teenage years . . . . [Y]ou know, . . . 17, 16, something like that . . . . But prepubescent, I don’t have any attraction. That shit’s just gross. It doesn’t make sense.”

¶8 Gaines told Sergeant and Detective that during certain times in his life, he had looked at “teen porn,” but he claimed that none of it had been “illegal” and that he was just looking for “the illusion of it, you know, . . . it just says teen.” He stated that he was “absolutely certain” that some of his searches for “teen porn” would “show in [the officers’] software.” Specifically, Gaines admitted that he had searched for “16Y” images, later explaining that “16Y” meant “[s]ixteen year old or something like that.”

¶9 Gaines also indicated that his knowledge of computers was higher than “the average guy.” He claimed to have “invented software for fighter jets” and to have worked in “IT for ten years before [he] did engineering.” When asked if he used “file sharing” or “peer to peer” software, Gaines responded, “Are you talking about, like, torrents and stuff?” Sergeant answered in the affirmative, and Gaines continued, “Yeah. Torrents, RapidShare, and things like that.”

¶10 Sergeant asked Gaines to explain what he meant when he said he used “peer to peer” and “torrents.” Gaines responded that he understood how torrents worked and, unbidden, said, “Okay. I know what you’re talking about. This is that . . . Russian thing.”

20240045-CA 4 2026 UT App 44 State v. Gaines

Sergeant asked Gaines to “talk about that,” and Gaines responded, “Okay. Yeah. That one has some bad stuff, and I deleted most of it and kept . . . . [S]o there is a girl, she’s probably . . . like, 25 now and she still does porn. She did some shit when she was a little younger.” Sergeant asked if Gaines remembered the name of it, and Gaines responded, “Mashka something. And I didn’t realize, like, how young that went, but I got a porn . . . torrent or whatever with her shit in there, and it had a bunch of stuff. I can’t read it. It’s in Russian.” But he acknowledged that, in those files, he “did see some disturbing stuff.” And later in the interview, when discussing “[t]he extent of . . .

Free access — add to your briefcase to read the full text and ask questions with AI

Related

Brady v. Maryland
373 U.S. 83 (Supreme Court, 1963)
Miranda v. Arizona
384 U.S. 436 (Supreme Court, 1966)
Strickland v. Washington
466 U.S. 668 (Supreme Court, 1984)
Franklin v. Stevenson
1999 UT 61 (Utah Supreme Court, 1999)
Tillman v. State
2005 UT 56 (Utah Supreme Court, 2005)
Bishop v. GenTec Inc.
2002 UT 36 (Utah Supreme Court, 2002)
Murray City v. Hall
663 P.2d 1314 (Utah Supreme Court, 1983)
Eskelson v. Davis Hosp. & Medical Center
2010 UT 59 (Utah Supreme Court, 2010)
State v. Roberts
2015 UT 24 (Utah Supreme Court, 2015)
State v. Griffin
2015 UT 18 (Utah Supreme Court, 2015)
State v. Nelson
2015 UT 62 (Utah Supreme Court, 2015)
State v. Garcia
2017 UT 53 (Utah Supreme Court, 2017)
State v. Ellis
2018 UT 2 (Utah Supreme Court, 2018)
State v. Fullerton
2018 UT 49 (Utah Supreme Court, 2018)
Olguin v. Anderton
2019 UT 73 (Utah Supreme Court, 2019)
State v. Scott
2020 UT 13 (Utah Supreme Court, 2020)
State v. Ray
2020 UT 12 (Utah Supreme Court, 2020)
State v. Peraza
2020 UT 48 (Utah Supreme Court, 2020)
State v. Bilek
2018 UT App 208 (Court of Appeals of Utah, 2018)
State v. Klenz
2018 UT App 201 (Court of Appeals of Utah, 2018)

Cite This Page — Counsel Stack

Bluebook (online)
2026 UT App 44, Counsel Stack Legal Research, https://law.counselstack.com/opinion/state-v-gaines-utahctapp-2026.