A man was sentenced to 40 years in prison after pleading guilty to DUI charges for killing two boys in South Carolina.