He stays in prison for fourteen years, during which he befriends the Abbe Faria, who becomes his teacher and father in their despair. When this beloved guardian dies of an unfortunate illness, Edmond finds that he was given once again a chance at freedom, and even wealth.