Chernyshevskii was arrested and confined in the fortress of Sts Peter and Paul, where he wrote the novel Chto delat'? (What Is To Be Done?).