DEDHAM – A Dorchester man with a lengthy criminal record has been indicted in connection with a June bank robbery in Braintree.

A grand jury handed down indictments last week charging Jason J. LeClair, 32, with unarmed robbery as a habitual offender. The indictments move his case from district court to Superior Court, where defendants can face longer sentences if convicted.

Bail was set at $50,000 cash when LeClair was arraigned on the original charges in district court.

Police say LeClair made off with about $3,000 from the Bank of America branch on Tremont Street in Braintree on June 18, according to police reports. Police said a teller told investigators that a man, later identified as LeClair, walked up to her as she was finishing up with a customer and handed her a demand note made of tissue paper.

The teller said she thought the man was joking until he whispered, “Give me 20s, 30s, 50s and hundreds ... everything you have,” according to the report.

LeClair was arrested after investigators received a tip from someone who told them that LeClair had talked about wanting to rob a bank and was later seen with a lot of cash, according to the report. The caller also said LeClair had bragged about “getting away with it before.”

Prosecutors are seeking to convict LeClair under the state’s habitual-offender statute, also known as the “three-strikes law,” which requires judges to give the longest possible sentence, without the possibility of parole, for people convicted of certain crimes three times. LeClair has more than 20 larceny charges on his criminal record, according to the police report.