Ciphered Europe

Story · Great Northern War, 18th century

Copenhagen, 1714: Stenbock’s failed escape

In February 1713 the Swedish field marshal Magnus Stenbock, victor of Gadebusch, shuts himself up in the Holstein fortress of Tönning; he capitulates in May. He is now a prisoner of King Frederick IV of Denmark, first in the town of Copenhagen, on parole and with his household, then — from November 1714 — in close confinement in the citadel of Frederikshavn, where he will die in 1717.

What we read, and its limits

  • The letters to Malmberg (Lit. L) were already deciphered at the time, by the Danish postal controller C. C. Erlund, in 1714. His German decipherment is written between the lines of his copies, in his volume of 1732: Riksarkivet, Manuskriptsamlingen SE/RA/760004/42, Lit. L, pp. 377 ff. (images R0000422_00144–149); the key is at Lit. F, p. 160 (images 84–86), the escape contract at Lit. Q, pp. 365–367 (images 138–139).[1] We do not claim a first decipherment of these letters: our reading confirms Erlund’s (98% agreement on the clear signs).
  • Stenbock’s petition to Charles XII is read in part, at about 83% only, below Daniel Bourdeau’s 95% threshold. Strict count, group by group: outside the held-out page, 844 groups of 1,014 sure or probable (83.2%: 655 sure, 189 probable, 170 unresolved); over the whole petition, 974 of 1,192 (81.7%; only 59.9% sure).
  • What was known of the petition. Oscar Malmström quoted about one eighth of it in 1901, from a copy in the Danish archives; a complete Danish decipherment probably exists in Copenhagen (Rigsarkivet), and we have not seen it.[3]
  • Published as it stands, by Brice Dudout’s decision, despite these limits, which are detailed below.

The summer of 1714

In between comes the summer of 1714. Stenbock writes a great deal. He signs “Johann Schütze”, “Zacharias Hinder”, “Abraham Budde”; his correspondents are called “Mr Bono, merchant in Lübeck” (in fact the commissary general of war Peter Malmberg), Johan Dünt in Hamburg, Bautzman… The delicate passages are written in an alphabet of signs invented for the captivity, and proper names are replaced by numbers: 242 for Stenbock himself, 264 for the king, 265 for Sweden, 129 for Hamburg.

On 5 July 1714 a contract — a “charter party” — is made with a ship’s master, Christian Rötcke: he is to take the prisoner on board and land him on the Swedish coast. On 21 July Stenbock urges Malmberg that the master “undertake nothing unless he is sure to succeed” and above all not keep the contract on board.

Erlund, the reader of the post

All of this the King of Denmark was reading. The postal controller Christian Christoffer Erlund opened the letters, broke the cipher — starting, he says, from a guessed name — copied, and sometimes rewrote before sealing them again.[4] In 1732, retired at Sønderborg, he bound it all into a thick volume of 388 images, today in Stockholm (Riksarkivet, Manuskriptsamlingen 42, digitised, public domain): the key to Stenbock’s alphabet, the list of code numbers, the enciphered escape contract with its “explanation”, and the letters with Erlund’s German translation between the lines.[1]

What we did: transcribe the key and test it against the letters. It reads Stenbock’s cipher letter for letter (98% agreement on the clear signs). Erlund’s decipherment is faithful.

Timeline of Stenbock’s captivity, 1712–1732Dec. 1712Victory of GadebuschMay 1713Capitulation at Tönning: prisoner of the King of Denmark1 May 1714Enciphered petition to Charles XII (read in part)5 July 1714Charter party with the master Christian Rötcke21 July 1714Cipher letter to Malmberg, deciphered by ErlundNov. 1714Close confinement in the citadel of Frederikshavn1717Stenbock dies in captivity1732Erlund binds his volume (Riksarkivet, ms. 42)Timeline not to scale · red: enciphered pieces
Illustration · AIIllustration generated by AI (Claude), of no documentary value — this is not a reproduction of the document.

The petition to Charles XII

What remained: Erlund did not understand everything. Some fifteen code numbers were left untranslated — “God grant that 238.243.244.281…” — and above all a long draft petition to Charles XII, seized among Stenbock’s papers, written in another code, where Erlund left whole lines of dots.

That code we have rebuilt. It is a chancery dictionary: about 1,100 numbers, whose words (from 450 to 1087) are in alphabetical order — danske 473, folk 547, Konung 653, och 764, til 997, Wismar 1064 —, while the small numbers code letters and syllables with several equivalents, and groups of repeated letters stand for countries: eee Holstein, ggg Sweden, ff France. Tested on a page set aside, the reconstruction recovers 14 of the 16 words Erlund had read there.

Under Erlund’s dots, Stenbock speaks. He says he is “guarded like the worst spy”, threatened with “hunger, prison, unheard-of constraint and tortures”; he accuses Baron Görtz of blackening him with the king; he invokes a letter from the Marquis de Torcy, Louis XIV’s minister; he calls himself “infirm”, ready to give “my last drop of blood” in His Majesty’s service, and prays that “my enemies” not be allowed “to rejoice” over him, his wife and his children. The reading remains partial — nearly one code group in five still resists — but the voice is there.

Read in part, about 83%. Outside the held-out page (p. 705), 844 groups of 1,014 are read sure or probable (83.2%); over the whole petition, 974 of 1,192 (81.7%), of which only 714 sure (59.9%). On the held-out page, reread after a second proposal of values: 70 words of 86 (81.4%). Daniel Bourdeau’s rule requires 95% to say “read”.

What remains uncertain

References

  1. Manuscript

    Stockholm, Riksarkivet, Manuskriptsamlingen SE/RA/760004/42: C. C. Erlund, Geheime Nachrichten von dem Schwedischen Grafen M. Stenbock, Sonderburg, 1732 (images R0000422, public domain); images 84–86 (key, Lit. F), 138–139 (contract, Lit. Q), 144–149 (letters, Lit. L), 190–223 and 304–309 (including the petition, pp. 697–707).

  2. Catalogue

    Daniel Bourdeau, cyphersolver catalogue, no. 455, target stenbock1713 ↗ (location of the letters and of the key E 4698, and the finding that the cipher was broken by Erlund).

  3. Petition

    Oscar Malmström, Magnus Stenbock i fångenskapen, 1901 (KB, digitised): quotes Stenbock’s letter to Charles XII of 1 May 1714 from the Danish archives.

  4. Erlund

    Sune Christian Pedersen, “Postspionen”, enigma.dk (Post & Tele Museum); Andreas Marklund, “Magnus Stenbocks öde”, Populär Historia, 1/2009; A. Marklund, Stenbock. Ära och ensamhet i Karl XII:s tid, 2008 (not consulted).

  5. Reading

    Transcription, key, reconstruction of the code and count: Brice Dudout with Claude, 27 October–11 November 2026, with Brice Dudout’s targeted rereadings on the images; a second proposal of values for the held-out page, measured before reading (11 November).