BANGOR, Maine — An Old Town man who served prison time for bank robberies in 2009 pleaded guilty Tuesday at the Penobscot Judicial Center to charges in connection with holdups at banks in Corinth and Orono earlier this year in which nearly $18,000 was stolen.

Troy M. Gay, 26, admitted to robbing Camden National Bank in Corinth on March 20 and Bangor Savings Bank in Orono on April 25. He also pleaded guilty to unrelated charges of operating under the influence of intoxicants in Bangor on April 3 and violation of a condition of release on May 4.

District Court Judge Bruce Jordan set Gay’s sentencing on all the charges for Aug. 28.

Gay remained at the Penobscot County Jail on Tuesday, unable to post bail set June 13 at $100,000 cash.

When Gay’s arrest was announced in June, he was considered a possible suspect in robberies of Key Bank in Ellsworth on Feb. 3 and Maine Savings Federal Credit Union in Bangor on April 3. Penobscot County District Attorney R. Christopher Almy and defense attorney David Bate of Bangor both said after Gay entered his pleas that he would not be facing other charges.

Gay was 21 and living in Greenbush in 2009 when he was charged with robbing Bangor Savings Bank in Howland in April 2009 and the Bank of America branch on Union Street in Bangor in May 2009.

He was indicted by the Penobscot County grand jury for both robberies shortly afterward and for having 30 pounds of marijuana mailed to himself at the Old Town post office.

Gay was sentenced in October 2009 to eight years in prison with all but 3½ years suspended, according to Bangor Daily News archives.

He faces up to 10 years in prison on each of the 2014 bank robbery charges.