James Phillips guilty of attempted murder