DOVER — Against the recommendation of the state, an East Rochester man will spend just two weeks in jail after pleading guilty to nine counts of possession of child pornography.

At Strafford County Superior Court on Friday, Michael Dufoe, 47, of 71 Franklin Heights, pleaded guilty to possessing nine videos depicting children being sexually abused. He was in possession of those videos in Rochester on June 9, 2011.

According to Strafford County Assistant Attorney Amy Feliciano, Dufoe entered a “naked” plea on Friday, meaning there wasn't a negotiated plea agreement and the extent of his sentence would be up to the judge.

While Feliciano recommended that Dufoe serve time in state prison, Judge John Lewis ordered Dufoe serve 12 months in the House of Corrections, with all but 14 days suspended, meaning that Dufoe will serve just two weeks in jail.

The judge also ordered three consecutive prison sentences for Dufoe, each lasting 5-10 years, but the prison sentences are suspended, meaning Dufoe won't serve time in prison long as he meets several conditions.

These conditions include remaining on good behavior, continuing counseling, having no unsupervised contact with minors, and having no Internet or computer use unless allowed by a probation officer. Dufoe was ordered to obey these conditions while on probation for the next 20 years; otherwise, the suspended prison sentences could be imposed by the prosecution.

At the end of the plea and sentencing hearing that lasted more than three hours, Lewis warned Dufoe to follow all of the conditions in a strict manner.

“There's 15 to 20 years hanging over your head,” he said. “If you come (back) before me, you're going to have problems.”

At the end of Friday's hearing, Dufoe hugged and kissed his wife while being escorted to the House of Corrections. After he serves two weeks in jail, Dufoe will be put in administrative home confinement, and will be monitored with a GPS device.

After the hearing, Feliciano said she plans to apply for a sentence review, which would involve three judges from across the state reviewing the case and potentially imposing a different sentence.

“I understand what the court took into consideration (on Friday) but I respectfully disagree,” said Feliciano.

She said that while Dufoe is going to counseling and has completed a sexual offender program since being charged, the charges against Dufoe are serious, and involved children being victimized.

Feliciano said in her opinion, the nature of Dufoe's charges necessitate a prison sentence.