BANGOR, Maine — A local man who admitted committing a series of residential burglaries last winter was sentenced Thursday at the Penobscot Judicial Center to eight years in prison with all but three suspended.

Nathan J. Paulette, 28, of Bangor was sentenced after pleading guilty to four counts of burglary, two counts of attempted burglary and three counts of theft, according to the Penobscot County district attorney’s office.

In addition to prison time, Superior Court Justice William Anderson sentenced Paulette to three years of probation and ordered him to pay $460 in restitution.

The sentence imposed was part of a plea agreement, Deputy District Attorney Alice Clifford said Friday.

The case was unusual because Paulette only took coins or cash, she said. He left jewelry and electronics untouched on Nov. 19, Dec. 8 and 10, 2015.

Paulette was arrested with Chelsea Davis, 26, of Bangor on Dec. 10 after a homeowner on the city’s west side called police about 4 a.m. to report that her dog was growling and she could hear someone on the first floor of the house, according to a previously published report. On the other side of Bangor, police sighted the car Davis was driving, in which Paulette was a passenger, on Center Street. Police stopped the car, which is owned by a relative of Paulette’s.

Davis told police that Paulette would not scout homes and would simply walk down the street and check to see if the basement windows were locked, court documents said. Davis said that Paulette never broke anything, and if the basement window was locked, he would move on to the next house.

She was charged with three counts of burglary, two counts of attempted burglary and two counts of theft as Paulette’s accomplice but did not break into any homes, according to Clifford. The couple spent the money on drugs.

Paulette faced up to 10 years in prison and a fine of up to $20,000 on the burglary and attempted burglary charges.

Davis faces the same punishment and fine. She is scheduled to be in court on Aug. 16.