A former Smyrna jailer will spend two years behind bars for stealing from an inmate.

Dustin Blake Otwell, 31, a recently hired jailer at the Smyrna City Jail, was arrested on Feb. 7 for taking $600 from a man who was booked into the jail, according to Cobb County District Attorney’s Office.

Otwell attempted to blame the theft on the officer who arrested the man, officials said. But the officer counted the man’s money in front of the man and a patrol camera before placing him under arrest, officials said.

On Wednesday, Otwell pleaded guilty to one count of theft by taking and one count of making false statements and writings.

A judge sentenced him to 10 years in prison, with two years to serve.