He had been a trusted friend of the victim.