An Augusta man on Monday was sentenced to nearly seven years in prison for his role in last year’s robbery of an Augusta pharmacy.

In U.S. District Court in Bangor, Judge John Woodcock sentenced Lance Szady, 27, to 87 months in federal prison followed by three years of supervised release. Szady also was fined $500 and must pay his share of $10,760 in restitution.

Szady in February pleaded guilty to driving the car used to flee after Dominic Pomerleau held up the Hospital Street Rite Aid in September 2014.

Szady, who already has served a sentence in state prison for robbing an Augusta pharmacy in June 2010 and for multiple storage unit burglaries, faced up to 20 years in prison and a $250,000 fine.

Pomerleau, 22, of Augusta, in May was sentenced in the same court to seven years in prison and three years of supervised release after pleading guilty in the same court to pharmacy robbery and attempted pharmacy robbery in connection with the Hospital Street holdup and an aborted robbery the same day at a Rite Aid on North Belfast Avenue.

The third and final robbery suspect, Nicole A. Breton, 21, of Chelsea, this month was sentenced to 21 months in prison followed by three years of supervised release.

Breton in February pleaded guilty in U.S. District Court to being an accessory after the fact for helping Pomerleau after the Hospital Street robbery. Breton was a passenger in a car Szady drove and emptied pills from the bottles and threw the bottles and caps out of the car, and the three spent the night at her home.

U.S. Attorney Thomas E. Delahanty, citing Szady’s criminal history, sought a sentence of 108 months in prison followed by three years of supervised release.

Szady’s attorney, Joseph Bethony, did not suggest a sentence term, but noted Szady’s hard work to rehabilitate himself while in custody.

Both Szady and Pomerleau, who was convicted in January 2012 of eluding an officer and sentenced to four years of incarceration with all but nine months suspended and two years of probation, were on probation at the time of the September robbery.

In January 2011, Szady pleaded guilty in Kennebec County Superior Court to 53 charges, including a 2010 CVS pharmacy robbery and a dozen break-ins at self-storage units, and was sentenced to 10 years in prison with all but 3½ years suspended and three years of probation – a sentence recommended by both the state and the defense attorney.

Szady’s attorney at the time, Lisa Whittier, told the court he had a severe substance abuse problem and was hoping to get into treatment while in prison.

According to state records, Szady was released from the Maine State Prison on July 19, 2013, and began his probation.

Documents filed in state court in connection with Szady’s earlier robbery case indicate he spent most of the time from age 15 to age 18 at Mountain View Youth Development Center in Charleston and was occasionally hospitalized in the psychiatric unit at Acadia Hospital in Bangor.