A former Army Reservist James Morales, 35, of Cambridge, was charged with escaping from federal prison, as well as attempted bank robbery while he was on the loose, plus several unrelated gun violations.

In 2015, Morales also stole six machine guns and 10 handguns from an Army complex in Worcester.

“Morales gained access to the weapons by breaking a kitchen window located near the room that contained the vault, climbing to the top of the vault, and cutting a hole through its ceiling,” authorities noted in a press release. “The sharp edges of the ceiling caused Morales to cut himself, leaving behind DNA, which was matched to Morales three days after the robbery.

Morales faces up to 15 years in prison. His sentencing is scheduled for February.