BARNSTABLE, Mass. (AP) — A Mashpee man has been sentenced to up to seven years in prison after pleading guilty to robbing two Cape Cod banks with his 11-month-old daughter in his getaway car.

Gerard Langley pleaded guilty Tuesday in Barnstable Superior Court to stealing $2,800 from a Bank of America in Hyannis last October and following that up a week later by stealing just over $2,000 from an Eastern Bank in Barnstable.

The Cape Cod Times ( ) reports that in both cases, he slipped the tellers a note ordering them to turn over the cash.

Prosecutors allege his girlfriend acted as his getaway driver. She said she didn't know he was robbing the banks. She faces trial in November.

The 39-year-old Langley told police he robbed the banks to support a drug habit.


Information from: Cape Cod (Mass.) Times,