S.C. Code Ann. § 24-5-60
The sheriffs or jailers in the several counties of this State shall keep in safe custody all such prisoners as may be committed to them under the authority of the United States until such prisoners are discharged by due course of law of the United States, under the like penalties as in case of prisoners committed under the authority of this State and upon the terms of the resolution of the Congress of the United States at its session begun and holden on March 4, 1789.