A Florida man was sentenced Wednesday to 3½ years in prison for using stolen credit and debit card numbers to make more than $48,000 in unauthorized purchases. He was also convicted on a charge of aggravated identity theft.

Nearly all of 28-year-old Ariel Perez-Calvo’s victims lived in Maine and included residents of Penobscot, Piscataquis, Franklin and Somerset counties as well as Hancock, Knox, Kennebec and Androscoggin counties. The crimes occurred in January 2016.

U.S. District Court Judge John A. Woodcock Jr. also sentenced Perez-Calvo, who is a Miami resident, to three years of supervised release. He was also ordered to pay over $35,000 in restitution to the victims of his crime.

“The crimes you engaged in are insidious and destructive. First, you steal private information and then you steal money,” Woodcock told Perez during his appearance in U.S. District Court in Bangor, according to a news release.

U.S. Attorney Thomas E. Delahanty II said in a statement that each fake card used by Perez-Calvo had the name “David Cuan” embossed on it. None of the victims went by that name.

Each credit card he used also bore a unique account number and gave the appearance of being an authentic debit or credit card. The credit card’s magnetic strips were encoded with the true account numbers of victims, Delahanty said.

Delahanty said Perez-Calvo also engaged in similar illegal conduct in Manchester and Concord, New Hampshire, in late 2015 when he used debit and credit card account numbers belonging to New Hampshire bank customers to make unauthorized purchases totaling more than $1,000.

Perez-Calvo’s accomplice in the scheme, Roberto Lueje-Rodriguez, has not been sentenced yet. Lueje-Rodriguez pleaded guilty last July 8 to access device fraud and aggravated identity theft.

A total of 16 state and federal law enforcement agencies conducted the investigation that led to Perez-Calvo and Luege-Rodriguez’s arrests.