BREWER, Maine — An electronic photo of a sexual assault involving a child was sent to police, and a local man and woman are now behind bars facing aggravated gross sexual assault charges, Brewer police Detective Sgt. Jay Munson said Tuesday.

Brewer residents Katie R. Dube, 27, of Washington Street and Terrence A. Pinkham, 27, of Tibbetts Street were arrested just before 9 a.m. Thursday, May 3, and charged with felony gross sexual assault and sexual exploitation of a minor, the detective said.

“Someone acquainted with the two gained access to [the sexual assault image] and forwarded it along to law enforcement,” Michael Roberts, deputy district attorney for Penobscot County, said Tuesday about the incriminating digital picture.

Roberts said the victim was a 7-year-old male at the time of the crime and is related to one of the accused.

Dube and Pinkham made their first court appearance on Friday. Dube’s bail was set at $50,000 cash and Pinkham’s bail was set at $100,000.

Pinkham and Dube were charged with Class A gross sexual assault, which carries a penalty of up to 30 years in prison, and Class B sexual exploitation of a minor.

“Gross sexual assault is having sexual contact or intercourse with someone who has not yet reached the age of 12,” Munson said. “Sexual exploitation is creating or taking film of someone engaged in a sexual act that has not yet attained the age of 12.”

They “created child porn,” the detective said, explaining the second charge. The electronic images “were never disseminated [over the Internet] that we know about,” he added.

The Department of Health and Human Services partnered with Brewer police during the ongoing investigation that started in November, Munson said.

Most likely Dube and Pinkham will be indicted by the Penobscot County grand jury, which is scheduled to meet later this month.

Their next scheduled court date is July 5.

Pinkham was charged in November with unlawful possession of a synthetic hallucinogen after he was found with bath salts drugs when arrested for attempting to avoid paying a taxicab fare. He also was convicted of sale and use of drug paraphernalia in November and ordered to pay a $300 fine, according to court listings printed in the Bangor Daily News.

Both Dube and Pinkham were taken to Penobscot County Jail in Bangor after their arrests, and both remained behind bars Tuesday unable to make bail.

BDN writer Judy Harrison contributed to this story.