PORTLAND — A Maine man has been sentenced to more than five years in prison after pleading guilty to charges of helping two jueveniles rob a credit union in Portland.

Federal prosecutors say 42-year-old Duane Toothaker of Bristol was accused of helping the pair rob a University Credit Union branch on Dec. 21, 2011, by advising them on how to do it, driving the getaway car and writing the note that was presented to the teller.

Toothaker was sentenced on Monday to 57 months in prison.