S.C. Code Ann. § 44-23-430
Upon receiving the report of the designated examiners the court shall set a date for and notify the person and his counsel of a hearing on the issue of his fitness to stand trial. If, in the judgment of the designated examiners or the superintendent of the facility if the person has been detained, the person is in need of hospitalization, the court with criminal jurisdiction over the person may authorize his detention in a suitable facility until the hearing. The person shall be entitled to be present at the hearings and to be represented by counsel. If upon completion of the hearing and consideration of the evidence the court finds that:
(3) The person is unfit to stand trial but likely to become fit in the foreseeable future, the court shall order him hospitalized for an additional sixty days. If the person is found to be unfit at the conclusion of the additional period the solicitor responsible for the criminal prosecution shall initiate judicial admission proceedings pursuant to Sections 44-17-510 through 44-17-610 or Article 1 of Chapter 21 of this title within fourteen days during which time the person shall remain hospitalized.
Subject to the provisions of Section 44-23-460, patients against whom criminal charges are pending shall have all the rights and privileges of other involuntarily hospitalized patients.
Persons against whom criminal charges are pending but who are not ordered hospitalized following judicial admission proceedings shall be released.