Raimondo Montecuccoli
Raimondo Montecuccoli wrote his aphorisms on the art of war in a Stettin prison (c. 1639-1641). John Bunyan wrote "The Pilgrim's Progress" (1678) while in jail.