SKOWHEGAN — A Pittsfield man was sentenced Monday in Somerset County Superior Court to serve two years in prison, after pleading guilty to a charge of unlawful sexual contact.

Jason Dube’s victim was 10 years old at the time. In a plea agreement with the Somerset County District Attorney’s Office, Dube, 33, was sentenced to six years in prison, with all but the two years suspended, and will serve 12 years on probation once he is released. Dube also must register as a sex offender for the rest of his life and have no contact with girls younger than 16.

The sexual contact between Dube and the girl happened between Feb. 16 and March 13 in Pittsfield.

According to prosecutors, the girl went into Dube’s bedroom, where he was playing video games on his bed. The girl saw some loose change on the floor and asked him if she could have it, according to the prosecutor. Dube reportedly told her she could have the coins if she would let him tickle her.

Dube then sexually assaulted the girl and asked her not to tell anyone, the prosecutor told Justice Robert Mullen.

The girl immediately told Dube’s mother what had happened and then told her own mother, and a police investigation with the Maine Department of Health and Human Services was begun. He was indicted by a grand jury in September. Two additional charges were dismissed.