Carabanchel Prison was constructed by political prisoners after the Spanish Civil War between 1940 and 1944 in the Madrid neighbourhood of Carabanchel. It was one of the biggest prisons in Europe until its closure in 1998. The structure followed the panopticon model devised by Jeremy Bentham in 1785.