MARIETTA, Georgia (CNN) -- A judge Monday sentenced two women dubbed the "Barbie Bandits" and a teller who helped them rob the bank where he worked.

This photo of the so-called "Barbie Bandits" made the pair a hot topic of water cooler conversation last year.

Ashley Miller, convicted of theft and drug distribution, was sentenced to the maximum of 10 years. She has to serve two years behind bars, with the remainder on probation.

She also has to pay at least $2,500 in restitution.

Her co-defendant, Heather Lyn Johnston, who pleaded guilty to robbery and drug use charges in August, was sentenced to 10 years probation with community service, a minimum $2,000 fine and $2,500 in restitution.

Benny Herman Allen III, who at the time of the February 27, 2007, robbery was a teller at the Bank of America in Acworth, Georgia, also was sentenced to the 10-year maximum. He's required to serve five years behind bars and pay $2,500 in restitution. Watch footage from court »

Miller and Johnston earned the "Barbie Bandits" nickname after police released bank video they said showed them laughing and joking behind fashionable sunglasses before handing a holdup note to the teller.

Investigators said Johnston and Miller, who worked as dancers at an Atlanta-area strip club, planned to split the $10,000 they stole with Allen, the teller who accepted their demand and handed over the money, and another defendant.

Herman met the young women through convicted felon Michael Darrell Chastang, who faces sentencing Tuesday for his role in the heist.

On March 2, 2007, Chastang, Miller and Johnston led police on a short car chase not far from the Six Flags Over Georgia theme park outside Atlanta and were apprehended. According to arrest warrants, police found marijuana in the car and ecstasy pills on Miller. E-mail to a friend

All About Crime • Robbery