(a) Whenever any person who has not previously been convicted of any offense under this article or any offense under any State or Federal statute relating to marihuana, or stimulant, depressant, or hallucinogenic drugs, pleads guilty to or is found guilty of possession of a controlled substance under Section 44-53-370 (c) and (d), except narcotic drugs classified in Schedule I (b) and (c) and narcotic drugs classified in Schedule II, the court, without entering a judgment of guilt and with the consent of the accused, may defer further proceedings and place him on probation upon terms and conditions as it requires, including the requirement that such person cooperate in a treatment and rehabilitation program of a State-supported facility or a facility approved by the Commission, if available. Upon violation of a term or condition, the court may enter an adjudication of guilt and proceed as otherwise provided. Upon fulfillment of the terms and conditions, the court shall discharge the person and dismiss the proceedings against him. Discharge and dismissal under this section shall be without court adjudication of guilt and is not a conviction for purposes of this section or for purposes of disqualifications or disabilities imposed by law upon conviction of a crime, including the additional penalties imposed for second or subsequent convictions. However, a nonpublic record shall be forwarded to and retained by the Department of Narcotic and Dangerous Drugs under the South Carolina Law Enforcement Division solely for the purpose of use by the courts in determining whether or not a person has committed a subsequent offense under this article. Discharge and dismissal under this section may occur only once with respect to any person.
(b) Upon the dismissal of the person and discharge of the proceedings against him pursuant to subsection (a), and if the offense did not involve a controlled substance classified in Schedule I which is a narcotic drug and Schedule II which is a narcotic drug, the person may apply to the court for an order to expunge from all official records (other than the nonpublic records to be retained as provided in subsection (a)) all recordation relating to his arrest, indictment or information, trial, finding of guilty, and dismissal and discharge pursuant to this section. If the court determines, after hearing, that the person was dismissed and the proceedings against him discharged, it shall enter the order. The effect of the order is to restore the person, in the contemplation of the law, to the status he occupied before the arrest or indictment or information. No person as to whom the order has been entered may be held pursuant to another provision of law to be guilty of perjury or otherwise giving a false statement by reason of his failure to recite or acknowledge the arrest, or indictment or information, or trial in response to an inquiry made of him for any purpose.