A Danville man was sentenced on Wednesday after pleading guilty to murder in October.