BATON ROUGE, La. — A Connecticut man has been sentenced to 10 years in prison on charges that he defrauded Walmart nearly $1 million through identity theft and hundreds of bogus checks.

U.S. District Judge Brian Jackson in Louisiana sentenced Walter Glenn on Wednesday.

U.S. Attorney Brandon Fremin’s office said in a news release that Glenn and others used the personal information of more than 400 people to create bogus identification cards and counterfeit checks. Prosecutors say Glenn and others travelled the country and tried to cash more than 800 counterfeit checks worth more than $2 million at more than 450 Walmart stores in 23 states from January 2014 through August 2015.

In December, a jury convicted Glenn of charges including aggravated identity theft after a weeklong trial in Baton Rouge.