WISCASSET, Maine — A 36-year-old Boothbay woman will serve 2½ years in prison for disseminating child pornography.

Rachel E. Anderson was sentenced Oct. 25 to 10 years in prison with all but 2½ suspended, followed by 12 years of probation.

Her sentence will be served concurrently with sentences of one year each for five counts of possessing child pornography and one count of tampering with a witness, according to court documents.

Anderson is at the Maine Correctional Center in Windham, according to the Maine Department of Corrections.

Anderson was arrested Oct. 15, 2015, by Detective Terry Michaud of the Lincoln County Sheriff’s Office after taking photos of a girl younger than 12 years old and sending them to a South Carolina man who had sent Anderson photos of himself sexually abusing another girl younger than 12 years old, Michaud wrote in an affidavit.

Anderson had met the man on Craigslist and they discussed meeting in Maine, but Anderson’s therapist contacted authorities after learning of the exchanges.

A review of Anderson’s cellphone and computers by the Lincoln County Sheriff’s Office and the Maine State Police Computer Crimes Unit found 19 of the photographs taken by Anderson, as well as 75 videos of sexual assaults on children, according to the affidavit.

Michaud reported information from Anderson to the Fort Mill Police Department in Fort Mill, South Carolina. The South Carolina man, Michael A. McKinney, 33, of Fort Mill, pleaded guilty to third-degree criminal sexual conduct with a minor on Nov. 20, 2015, according to The Herald, a local newspaper. He was sentenced to 11 years in prison.

McKinney must register as a sex offender and will be subject to GPS monitoring for life, according to The Herald.

On March 15, the Lincoln County grand jury indicted Anderson on one count of Class A sexual exploitation of a minor, one count of Class B dissemination of sexually explicit material, and seven counts of Class C possession of sexually explicit materials, all felonies.

On Sept. 13, she was indicted again on a charge of Class C tampering with a witness or informant after attempting to convince McKinney “to withhold testimony, information, or evidence,” according to the indictment.

Anderson pleaded guilty April 11 to the dissemination charge and five charges of possession, according to court records. The district attorney’s office dismissed the exploitation charge and the two additional counts of possession.

Anderson pleaded no contest to the tampering charge Oct. 25, according to court documents.

Anderson will be subject to a long and restrictive set of probation conditions upon her release.

The conditions prohibit contact with children younger than 18 except incidental contact in public and contact with her children with some restrictions. The conditions prohibit her from public places where children gather.

The conditions prohibit internet use and the possession or use of devices capable of internet access unless she obtains permission from a probation officer. Even with this permission, the conditions prohibit the use of chat rooms or social media. She must provide login information upon request.

Anderson must complete treatment for psychological and sexual offender issues.

The conditions prohibit her possession or use of alcohol or illegal drugs and require her to submit to random searches and tests for alcohol, drugs and “sexually oriented material.”

Finally, she must live at a certain address and spend every night there unless she obtains permission to do otherwise.

Assistant District Attorney Katie Dakers prosecuted the case. Bath attorney David Paris represented Anderson.