The prison in literature is not only a space of repression, resistance or martyrdom, but also that of contemplation and inspiration. Lives of Sir Thomas Malory, Marquis de Sade and Jean Genet show how crimininals, having to spend their time in the cell, turned into writers, whose imagination transgressed the boundaries of ethics and law.