AUGUSTA — A Clinton man who submerged himself in a bog last fall in an attempt to elude sheriff’s deputies who chased him from the Vassalboro home he had been burglarizing was sentenced Wednesday in Kennebec County Superior Court.

William J. McLain Jr., 32, who had pleaded guilty to burglary and refusing to submit to arrest in connection with the Sept. 27, 2013, incident, was ordered to serve eight years in prison, with all but two years suspended, and three years’ probation.

He was arrested that day by a pair of sheriff’s deputies using a tracking dog.

Shortly after that, Chief Deputy Ryan Reardon, of the Kennebec County Sheriff’s Office, said McLain told investigators he broke into the Riverside Drive home to fuel “a $500-a-week heroin habit.”

The homeowner reported the burglary at 12:19 p.m. that day, telling dispatchers she was hiding in a closet to make the call as the man was rummaging through her belongings.

McLain encountered deputies as he fled the home, but he refused to comply with their orders and ran off.

Part of his sentence requires him to pay up to $500 in restitution. McLain was on probation at the time of the burglary, and two years of that probation were revoked.

Several other people were sentenced Wednesday in separate hearings in Kennebec County Superior Court:

• Leslie A. Pooler, 58, of Augusta, operating under the influence Nov. 3, 2013, in Augusta; 48-hour jail sentence, $500 fine, 90-day license suspension.

• Casey A. Smith, 20, of Winslow, assault and violating condition of release Jan. 23, 2013, and theft by unauthorized taking or transfer and another count of violating conditions of release Dec. 4, 2013, all in Waterville; six-month jail sentence concurrent to a nine-month probation revocation, $300 fine.

• Jeffrey A. Soucy, 53, of Mount Vernon, theft by unauthorized taking or transfer and criminal mischief July 21, 2013, in Belgrade; 364-day jail sentence, all but 30 days suspended, one-year administrative release, $190 restitution.

• Dustin A. Sprague, 28, of Rome, operating under the influence and violating conditions of release May 3 in Augusta; seven-day jail sentence, to be served in the alternative sentencing program, 150-day license suspension, $500 fine.

• Nathan E. Wheeler, 25, of Augusta, criminal trespass March 21 in Augusta; four-month jail sentence.