Murder accused befriended victim's partner