A man is being sentenced in court for murder.