A 40-year-old man in South Carolina was sentenced