A North Tonawanda man was sentenced Thursday to nearly six years in prison following his conviction for burglarizing a pharmacy and selling stolen prescription drugs.

Prosecutors said Timothy J. Lichtenburger, 30, twice broke into the Rite Aid Pharmacy, 1381 Nash Road, City of Tonawanda, on May 15, 2011, took more than $26,000 worth of various prescription pain pills, then sold them for the next six days until he was arrested.

U.S. District Judge Richard J. Arcara also ordered him to pay $27,197 in restitution to Rite Aid.