A man has been arrested in connection with the weekend theft of 16 guns from a Massachusetts Army Reserve armory.

According to the FBI affidavit, authorities arrested 34-year-old James Morales, who is out on bail on charges of child rape and indecent assault on a child under 14 years old, in New York on Wednesday.

The affidavit says DNA evidence from blood found at the scene and information from Morales' electronic monitoring bracelet led to his apprehension. The document charges him with unlawful possession of a machine gun and unlawful possession of stolen firearms.

The theft occurred over several hours Saturday night and Sunday morning in Worcester, Mass. The missing weapons include 10 9mm pistols and six M-4 rifles.

According to the affidavit, the perpetrator gained access to the building by breaking a window of a kitchen and then used a power saw and pry bar to cut through the ceiling of the weapons vault. Surveillance video shows a man make several trips between the building and a car during the time of the theft. The charging document also says that Morales' electronic monitoring bracelet places him directly in the facility from which the guns were stolen.

Morales had been at the facility the previous Thursday to get copies of his discharge papers. The local CBS affiliate says he was a former Army reservist.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.