The author of "Man of La Mancha," Miguel de Cervantes, wrote it while he was in prison. According to multiple sources, Cervantes began writing the adventures of Don Quixote during his imprisonment, specifically in a basement cave below Medrano's house in Argamasilla de Alba, which served as his prison at one point. This is supported by the prologue of the book where Cervantes states the work was "engendered in a jail".