HURON, S.D. (AP) - A 45-year-old man who escaped from the Beadle County Jail by using a makeshift weapon to hold a guard hostage is returning to prison.

KOKK radio reports that Charles Beeney was sentenced on Wednesday to two years in the South Dakota Penitentiary on an aggravated eluding charge from December. In that case, he was accused of stealing fuel from a Jerauld County farm and leading authorities on a chase that ended with him crashing a pickup near Alpena.

Beeney escaped from the Beadle County Jail Tuesday but was captured that night in Sioux Falls. He has a criminal history in Kansas and North Dakota, including a jail escape in North Dakota seven years ago.

Beeney was loaded into a Jerauld County Sherriff's SUV Wednesday afternoon and transported to Sioux Falls.

Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.