BRUNSWICK, Maine — A 56-year-old Bath man who pleaded guilty to using a cellphone to take photos and video of women, some of them nude, through windows at Bowdoin College housing, has been sentenced to 16 months in jail.

Stephen L. McIntire will serve that sentence following the 33 months he is currently serving for violating probation on a previous sentence for similar crimes at Hyde School in Bath in 2014.

Under the terms of a plea agreement with prosecutors in Sagadahoc and Cumberland counties, McIntire pleaded guilty in August to two counts of misdemeanor violation of privacy in connection with the case at Bowdoin College. In exchange, five other counts were dismissed, according to court records.

Justice Joyce A. Wheeler sentenced McIntire to a total of 16 months in prison for the two offenses, all consecutive to the 33 months remaining on his sentence for a similar incident at Hyde School in late 2014.

McIntire was arrested in December 2014 after failing to register as a sex offender since the previous August, Bath police said at the time. Despite a 1997 conviction for gross sexual assault, McIntire is no longer required to register as a sex offender, police have said.

In early 2015, McIntire was convicted of burglary, violation of privacy and failure to comply with the sex offender registry after police said video cameras caught him peeping in windows on the Hyde School campus in Bath in late 2014. He served nine months and was on probation for the crimes when he was arrested Nov. 25, 2015, after police said he broke into a home on Cherry Street, waited for the homeowner to return and then exposed himself before chasing her into another room.

Also as part of the plea agreement, the Sagadahoc County district attorney’s office dismissed charges including burglary and indecent conduct filed against McIntire following the incident on Cherry Street.

In a statement Thursday, Sagadahoc County Deputy District Attorney Jonathan Liberman said the decision to dismiss the charges related to the November 2015 incident “was not made in haste, and was based on a thorough review of the evidence.”

Liberman said the investigation into the Bath case “yielded multiple areas of concern which significantly affected the state’s ability to prove guilt beyond a reasonable doubt” in the case.

During the investigation of that incident, Bath police discovered a cellphone that Brunswick police later determined contained nine videos and more than 100 photos of nude and undressing Bowdoin College students, according to court records.

McIntire was also named by Brunswick police as one of several “persons of interest” in a sexual assault reported last fall at Bowdoin College after he reportedly matched a composite sketch released of a man seen loitering outside the apartment complex, where the assault was reported. No charges have been filed in that case.

“The direct consequence of the investigations by the Bath and Brunswick Police is that he has been sentenced to 49 months in prison for his conduct in 2015,” Liberman said in the statement.

McIntire is currently incarcerated at the Maine Correctional Center in Windham. According to the Maine Department of Corrections, he will first be eligible for release in February 2018.