McCORMICK COUNTY, S.C. -- County officials say inmates tried to escape a South Carolina prison Wednesday evening.

McCormick County Emergency said on Facebook the Department of Corrections off S.C. 378 east had a situation involving inmates attempting to escape a local prison.

South Carolina Department of Corrections said all staff from the McCormick County Correctional Institution are safe and accounted for. The corrections department also said Wednesday's incident did not affect the entire prison.

The corrections department later said all inmates are contained as of Wednesday night.