A Boston man was sentenced to nearly five years in prison Friday for selling guns stolen from the U.S. Army Reserve Center in Worcester, Massachusetts.

According to a statement from the U.S. attorney’s office in Massachusetts, 29-year-old Tyrone James was sentenced Friday in federal court to 57 months in prison and 36 months of supervised release.

In Jan. 2016, James and co-defendants Ashely Bigsbee and James Morales were indicted on charges of conspiracy to possess, store and sell stolen firearms, possession and sale of stolen firearms, as well as lying to federal agents. James, who was also charged with possessing a firearm while being a felon, pleaded guilty to all charges in December 2016.

The crime went down on the night of Nov. 14, 2015, when co-defendant James Morales allegedly stole six M-4 Carbines and ten M-11 semi-automatic handguns from the Lincoln Stoddard United States Army Reserve Center.

Morales then asked James and co-defendant Bigsbee to help him sell the firearms the following morning. Both Bigsbee and James agreed to sell the stolen guns.

James and Bigsbee then contacted potential buyers via text message, offering to sell the guns for prices much lower than their street and market values. Recovered text messages and pictures proved these efforts, showing the stolen weapons in their Dorchester apartment.

Bigsbee has already been sentenced to 21 months in prison, while Morales is scheduled for trial in April.