In another case of press repression which succeeded only in creating a martyr, the editor of the Swedish newspaper Stockholms Posten, Captain Anders Lindeberg, was convicted of treason in 1834 for implying that King Karl Johan should be deposed. He was sentenced to death by decapitation, under a medieval treason law. When the King mitigated the sentence to three years in prison, Lindeberg decided to highlight the King’s repressive press policy by insisting upon his right to be beheaded and refusing to take advantage of the government’s attempts to encourage him to escape. Finally, in desperation, the King issued a general amnesty to ‘all political prisoners awaiting execution’, which applied only to Lindeberg. When the editor stubbornly insisted upon his right to execution, the government solved the problem by locking him out of his cell while he was walking in the prison courtyard and then refusing him re-entry.
— Robert Justin Goldstein, Political Censorship of the Arts and the Press in Nineteenth-Century Europe, 1989
(Thanks, Jason.)