CHRISTIANSBURG, Va. (AP) — A Catawba man accused by authorities of swapping the barcodes between two items at an area Walmart has been sentenced to five years in prison — with all but one day suspended.

Prosecutors accused Andrew Zachary Ray of changing the barcodes between the items so that a blanket that should have cost $44.96 rang up as $13.46, the Roanoke Times reported Sunday. When he was arrested in August, a convoy of police vehicles, including a mobile command center, responded to his home in Catawba.

According to Assistant Commonwealth’s Attorney Erin Little’s summary of the prosecution’s case, authorities located in the Christiansburg Walmart the less expensive item with its barcode torn off. They used security video to identify Ray and later found the blanket in his bedroom.

The newspaper reported Ray is scheduled to go on trial in February in Roanoke County where he is charged with being a violent felon in possession of a firearm.