A man is on trial for murder.