Employees of any county or municipal jail, prison, work camp or overnight lockup facility, while performing their officially assigned duties relating to the custody, control, transportation or recapture of any inmate or prisoner in this State, shall have the status of peace officers anywhere in the State in any matter relating to the custody, control, transportation or recapture of such inmate or prisoner. Provided, that for the purposes of this section no trustee shall be considered an employee.
S.C. Code § 23-1-145