AUGUSTA — Two men have received identical prison terms for their roles in robbing a Rite Aid pharmacy in Waterville last August.

Lance C. Vashon, 35, of Benton, and Nicholas Hunter, 34, of Waterville, were sentenced last week in Kennebec County Superior Court to seven years in prison, with all but 30 months suspended, and three years of probation.

A co-defendant, Nicholas Hunter’s son Carl A. Hunter, had pleaded guilty in the same court in December and was sentenced to seven years in prison. Carl Hunter, now 19, had been on probation at the time of the pharmacy robbery on Aug. 21, 2012.

Conditions of probation ban Vashon from contact with his co-defendants and from returning to the pharmacy.

Vashon also pleaded guilty to two other theft charges from May 25 and 28 in Waterville, and received 30-day concurrent sentences for each.

A condition of Nicholas Hunter’s probation bans him from contact with Lance Vashon. Waterville police said Nicholas Hunter made a call to police to try to divert them to another location while the robbery was taking place.

A number of other people were sentenced last week in separate hearings in Kennebec County Superior Court:

• Rockne J. Albert, 51, of Pittston, operating under the influence and operating a vehicle without a license (conditional/restricted) Dec. 24, 2011, in Gardiner; 180-day jail sentence, all but 30 days suspended, one-year administrative release; $500 fine, three-year license and registration suspension.

• Glenn M. Bartlett, 32, of Windsor, domestic violence assault Oct. 28, 2012, in Augusta; two-year jail sentence, all but six months suspended, two years of probation.

• Karen Beaulieu, 39, of Oakland, failing to notify police of motor vehicle accident and reckless conduct June 10, 2012, in West Gardiner; $500 in fines.

• Stephen J. Bergen, 65, of Caribou, disorderly conduct Dec. 30, 2012, in Augusta; four-day jail sentence, credit for time served.

• Arthur S. Caron II, 30, of Waterville, cultivating marijuana and two counts of unlawful possession of scheduled drug July 22, 2011, in Waterville; 180-day jail sentence, all but 90 days suspended, two years of probation, $1,200 in fines, $1,080 restitution.

• William J. Chabot, 30, of Mount Vernon, eluding an officer June 6, 2012, in Readfield; three-year jail sentence, all but 45 days suspended, two years of probation, $400 fine.

• Lorraine Conlogue, 29, of Oakland, operating after habitual offender revocation Feb. 17, 2012, in Oakland; six-month jail sentence, $1,000 fine.

• Andrew R. Cooper, 28, of Waterville, two counts of burglary, three counts of theft by unauthorized taking or transfer, one count each of aggravated criminal mischief and theft by receiving stolen property Dec. 12-24, 2012, in Waterville; four-year jail sentence, all but eight months suspended, two years of probation, up to $5,088 restitution.

• Robert Cormier, 75, of Chelsea; assault July 5, 2012, in Chelsea; 364-day jail sentence, all suspended, one-year administrative release, $300 fine.

• Stephanie Celena Coutu, 19, of Waterville; violating protective order and violating condition of release Nov. 2, 2012, in Augusta; five-day jail sentence.

• Dan M. Danforth, 42, of Canaan, operating after suspension and failure to stop for an officer May 23, 2012, in Winslow; 10-day jail sentence to be served in the alternative sentencing program; $825 in fines.

• Brandon R. Darveau, 20, of Sidney, assault Dec. 22, 2012, in Augusta; 180-day jail sentence, all but seven days suspended, one-year administrative release, $300 fine.

• Melissa T. Douglass, 46, of Hallowell, operating under the influence and failure to stop, remain, provide information Oct. 2, 2012, in Hallowell; six-month jail sentence, all but 10 days suspended (to be served in the alternative sentencing program), one-year administrative release, 90-day license suspension.

• Jeana Fontaine, 28, of Monmouth, unlawful trafficking in scheduled drugs May 4, 2012, in Winthrop; five-year jail sentence, all but nine months suspended, three years of probation, $400 fine.

• Laurie C. Gilliland, 44, of Portland, operating while license suspended or revoked Nov. 10, 2012, in Winslow; $500 fine.

• Kiley J. Grotton, 24, of Hallowell, violating condition of release Nov. 1, 2011, in Augusta and theft by receiving stolen property, Nov. 1, 2011, in Vassalboro; 50 hours of community service work.

• Jesse R. Hanson, 24, of Augusta, theft by unauthorized taking or transfer Nov. 20, 2012, in Oakland; 28-day jail sentence.

• Jill E. Hansen, 46, of Oakland, operating under the influence, two counts of operating while license suspended or revoked and two counts of violating condition of release Dec. 4, 2012, in Oakland; 10-day jail sentence, to be served in the alternative sentencing program, $1,700 in fines, three-year license and registration suspension.

• Dale P. Hatch, 47, of Benton, operating under the influence Oct. 6, 2012, in Waterville; 10-day jail sentence, to be served in the alternative sentencing program, $500 fine, 90-day license suspension.

• Hartley D. Hathorne, 64, of Winthrop, operating under the influence Jan. 18 in Readfield; 96-hour jail sentence to be served in the alternative sentencing program, $500 fine, 90-day license suspension.

• Dylan R. Holt, 19, of Pittston, unlawful possession of scheduled drug Nov. 9, 2011, in Litchfield; 180-day jail sentence, all suspended, one-year probation, $400 fine.

• Aericka L’Italien, 25, of Augusta, operating under the influence Dec. 1, 2012, in Augusta; $500 fine, 90-day license suspension.

• Justin McInnis, 29, of Augusta, domestic violence terrorizing and disorderly conduct Dec. 31, 2012, in Augusta; $400 in fines, up to $150 restitution.

• Herve Mubirigi, 24, of South Portland, operating under the influence Nov. 16, 2012, in Waterville; 96-hour alternative sentencing program, $500 fine, 90-day license suspension.

• Kayla M. Pickell, 22, of Madison, operating under the influence Nov. 16, 2012, in Waterville; four-day jail sentence to be served in the alternative sentencing program, $500 fine, 90-day license suspension.

• Billy Pizarro, 32, of Lewiston, violating protective order Dec. 3, 2012, in Augusta; 55-day jail sentence, credit for time served,

• Edwin M. Provencher, 46, of Benton, assault June 29, 2012, in Benton; 180-day jail sentence, all but 30 days suspended (to be served in the alternative sentencing program), one-year administrative release, $300 fine.

• Donald Albert Stuart, 54, of Pittston, violating condition of release Jan. 23 in Pittston; 24-hour jail sentence, credit for time served.

• Michael C. Swift, 25, of Chelsea, assault and terrorizing June 9, 2012, in Augusta; two-year jail sentence, all but 30 days suspended, two years of probation, $300 fine.

• Timothy L. Vannah, 37, of Litchfield, three counts of unlawful possession of scheduled drugs and criminal forfeiture of $1,352 cash Nov. 9, 2011; and unlawful trafficking in scheduled drugs, violating condition of release and criminal forfeiture of $1,540 Aug. 5, 2012, all in Litchfield; three-year jail sentence, all but six months suspended, two years of probation, $1,600 in fines.

• Terrell Washington, 23, of Bronx, N.Y., unlawful trafficking in heroin Dec. 14, 2012, in Augusta; four-year jail sentence, all but 100 days suspended, two years of probation, $400 fine, $240 restitution.

• James E. York, 54, of Bangor, operating after habitual offender revocation Dec. 12, 2011, in Winslow; 18-month prison sentence, $1,000 fine.