A person is guilty of criminal contempt when, having been duly subpoenaed to attend as a witness before either house of the legislature or before any committee thereof, he:
A person who is convicted of or pleads guilty to criminal contempt is guilty of a felony and, upon conviction, must be fined within the discretion of the court or imprisoned for not more than five years, or both.
S.C. Code § 2-2-120