A Buffalo man has pleaded guilty to charges that he robbed banks in Kenmore and Hamburg in 2010, U.S. Attorney William J. Hochul, Jr. announced Monday.

Timothy Ernle, 51, entered the plea before U.S. District Judge Richard J. Arcara. The charge carries a maximum penalty of 20 years in prison and a $250,000 fine.

U.S. Attorney Melissa M. Marangola, who is handling the case, said that in July 201 Ernle robbed the M&T Bank branch on Delaware Avenue in Kenmore and the Evans National Bank on South Park Avenue in Hamburg on two separate occasion.

During all three robberies, the robber wielded a baseball hat and wore latex gloves and a stocking over his face. Ernle jumped over the teller counters and emptied the drawers.

Ernle, who is currently serving a state prison sentence for a bank robbery in Niagara County, stole approximately $27,000 during the three robberies.

The plea is the result of an investigation by special agents of the Federal Bureau of Investigation, under the direction of Special Agent in Charge Christopher M. Piehota.

He will be sentenced by Arcara on Oct. 18.