CHEYENNE, Wyo. (AP) — A 43-year-old man has been sentenced in U.S. District Court of Wyoming to 40 months in prison for robbing a credit union in Cheyenne last year.

Christopher D. Bandstra, Colorado transient, had earlier pleaded guilty to a single count of bank robbery.

U.S. District Judge Alan Johnson last week accepted a plea agreement in the case that includes five years of probation and more than $2,600 in restitution.

The judge noted Bandstra's mental state at the time of the incident.

Bandstra apologized to the bank teller at his sentencing hearing, noting that she was just doing her job when he made her fear for her life.