The second part of the novel consists of Robert's account of his life. It purports to be a document, part-handwritten and part-printed, which was found after his death. It recounts his childhood, under the influence of the Rev Wringhim, and goes on to explain how he becomes in thrall to an enigmatic companion who says his name is Gil-Martin. This stranger, who could be seen to be the Devil, appears after Wringhim has declared Robert to be a member of 'the elect' and so predestined to eternal salvation. Gil-Martin, who is able to transform his appearance at will, soon directs all of Robert's pre-existing tendencies and beliefs to evil purposes, convincing him that it is his mission to "cut sinners off with the sword", and that murder can be the correct course of action. From Gil-Martin's boasting of the number of his adherents and size of his dominions, Robert falls into the delusion that he is Peter the Great of Russia, who visited England about that time.