Story · Thirty Years’ War, 17th century
Glückstadt, 1644–1645: Christian Pentz’s cipher letters
In December 1643 Torstensson’s Swedish army marches into Holstein. Glückstadt, the fortress on the Elbe, holds out until the peace, almost alone. Its governor, Christian Pentz, son-in-law of Christian IV, writes to the King and to his chancellor; what he does not want read on the road, he puts in cipher. A Danish secretary once deciphered one of these letters between the lines: we took the key from it, put it to the test, and read the others.
« nicht mehr als vier Mann im Revellin vor dem Cremper Thor zur Vorwacht »
“no more than four men in the ravelin before the Krempe gate as an outpost”: Pentz to the King, 29 April 1644 (cipher passage).
What is new, what was known
Known. The Pentz family cipher was identified by Malcolm McBratney, who read a letter from Vienna of 1636 and, in part, a Glückstadt letter of about 1630 in the same archival unit.[1] The defence of Glückstadt is told in a diary printed in 1646, the Diarium Tychopolitanum, and the King’s letters that mention Pentz have been in print since the nineteenth century.[4][5]
What we add, to our knowledge. (1) An extension of the key, taken from the contemporary interlinear decipherment of a letter of 29 April 1644, and its test on a held-out portion. (2) The reading of seven cipher letters of 1644–1645: one read (96.4%), another read in full but very short (16 words), five read in part (86 to 94%). We have found these cipher passages printed nowhere.
The governor and his fortress
Glückstadt is a new town: Christian IV founded it in 1617 on the right bank of the Elbe, downstream from Hamburg, to rival the Hanseatic city and command the river. Christian Pentz (c. 1600–1651), a Holstein nobleman, became its commandant in 1630; in 1634 the King gave him in marriage Sophie Elisabeth, one of his daughters by Kirsten Munk. Pentz was also a diplomat, sent by the King to Ferdinand III in Vienna. Disgraced in 1648 at the accession of Frederick III, he died a prisoner in Flensburg in 1651.[2]
His reports to the King are kept in Copenhagen, in the archives of the German Chancery: a unit of some five hundred images, “Reports of the governor of Glückstadt Christian Pentz”, 1629–1645. Most are in clear. A few, of 1644 and 1645, carry lines of numbers.[3]
The Torstensson War seen from Glückstadt
On 12 December 1643 Lennart Torstensson, commander of the Swedish armies in Germany, entered Holstein without a declaration of war; within weeks Holstein and Jutland were occupied. Glückstadt and Krempe held. The war lasted until the Peace of Brömsebro, 13 August 1645 (23 August in the Gregorian calendar), which cost Denmark Gotland, Ösel and, for thirty years, Halland.[6] In the autumn of 1644 Helmut Wrangel took command of the Swedish troops left in Jutland and Holstein; in the spring of 1645 he blockaded Rendsburg.[5][7]
The Diarium Tychopolitanum follows the garrison day by day: raiding parties sent towards Rendsburg, prisoners brought in, Swedish ships driven from the Elbe, and, on 14 April 1644, four companies sent to Dithmarschen under Colonel Buchwald, because an attack was feared on that side.[5] The cipher letters show the other side of the coin.
29 April 1644: “four men in the ravelin”
A fortnight after that departure, Pentz writes to the King. The clear text tells of villages burnt in the Bremen country; the cipher says what he would not have read. He can no longer do the enemy “as much damage as my raiding parties did before”, because the garrison has been so reduced and the troops taken away “that at times I cannot keep more than four men in the ravelin before the Krempe gate”. And the troops sent to Dithmarschen, he adds, have since “attempted or achieved nothing” against the enemy. It is a governor’s complaint, and a barely veiled criticism of the orders he received.
March–June 1645: the assault, the repairs, the money
The letters of spring 1645 go to the King and the Chancellor just after a “heavy assault” made in March. Pentz lists the damage: the Reithoffel, an outwork of the fortress (the Diarium spells it “Rethhövel”), the breastworks, the main rampart, the bridge at the new castle, the blockhouse dam, the old gate. The Reithoffel cannot be restored for now; he has a retrenchment made behind it, so that the place “can very easily be held with a small garrison”, and gives his estimates: two thousand thalers for the work, three hundred and thirty rixdollars in wages for the bridge. He asks for orders and money (31 March, 20 April).
On 8 April he answers the Chancellor about a Spanish loan and the coming of a pagador, a paymaster, bringing “a considerable sum”: Spain, then at war with France and the United Provinces, was a possible source of money for Denmark. Pentz denies having promised the King anything on that score. After 24 April he writes that Rendsburg is “in the greatest danger” and that the fortress is far from being provided with men “as necessity requires”; all he represented was “in vain”.
The last letter, undated, tells of a raid: “with the consent of the Archbishop”, that is Prince Frederick, the King’s son, Archbishop of Bremen and the future Frederick III, Pentz has sent “a strong party” against Wrangel in his quarters; his men can pass “hidden in the wood”, by a separate road, as far as Rendsburg. The Diarium records exactly this stroke: on 26 May 1645 Pentz puts to the generalissimo a plan against the Swedish headquarters before Rendsburg; on 1 June, at Jevenstedt, Finnish horsemen are surprised, and the raiders, overtaken on the way back, escape “through impassable places and bushes”.[5] The letter, which we date to late May or early June 1645, is its ciphered announcement.
The cipher
- Three tables of numbers. Each letter has a two-figure number; in the first table a–i run from 37 down to 29 and k–z from 14 up to 28. The second and third tables give other values; the third is roughly the mirror of the first.
- Index numbers (62 or 64, 13 or 11, 10 or 8) announce the table in use; it changes in mid-word.
- A null, 251, slipped even inside words (“nich·251·t”).
- A few codes of three or four figures for sensitive persons and things: 301 = the Archbishop of Bremen, given by a period marginal note; some fifteen others remain without value.
- Clear text mixed in: formulas, ordinary news, dates.
The system is the one Malcolm McBratney reconstructed on the Vienna letter of 1636. Pentz still uses it eight years later, unchanged in substance.
How we read it
- The key learnt from the period decipherment. On the letter of 29 April 1644 a secretary wrote the letter above every number of the recto and of the first line of the verso. The 41 pairs, added to McBratney’s key, give key v3, frozen and hashed.
- A single measurement, fixed in advance. Held-out portion: the rest of the verso (unglossed) and the letter on image 425, 286 numbers, transcribed twice blind and frozen before any decoding. One measurement against 200 control keys: N = 0.760 for a bar of 0.75; best control 0.145. Key validated, narrowly.
- The other letters are read with the key unchanged. They were transcribed in two passes; image 420, with an overwritten line, was re-read by an independent second reader, which raised its reading from 77.1% to 86.1%.
- Reading for sense, cipher word by cipher word, each letter counted on its own: certain, probable, restored, unresolved.
What remains uncertain
- One letter read. 29 April 1644 is read at 96.4% (27 words of 28; the verso alone, 13 of 14). The letter to the Chancellor of 20 April 1645 is read in full, but it has only 16 cipher words.
- Five letters read in part: 31 March (91.7%), 8 April (86.5%), 20 April to the King (93.5%), after 24 April (86.1%), late May or June (92.7%). Codes without value and a few malformed groups keep them below 95%.
- A measurement just above the bar. The reading, consistent from one letter to the next and with the Diarium, carries the text, not the score.
- The clear text is read quickly and abridged; only the cipher passages are counted.
- The dates of the last two letters are inferred (a letter of 24 April quoted; a pencil note “1645 5/6” and the Diarium’s account).
- Prior work. The King’s letters edited by Bricka and Fridericia, searched in full text for 1641–1648, mention Pentz’s reports but do not print their cipher passages. More detailed Danish military histories were not consulted.
- No image. The Rigsarkivet images are not reproduced here.
References
Malcolm McBratney, target pentz1636 in Daniel Bourdeau’s cyphersolver repository: Vienna letter (1636) and Glückstadt letter (c. 1630). PR #522 ↗
“Christian von Pentz (Diplomat)”, Wikipedia (de), consulted 14 November 2026. Wikipedia ↗
Copenhagen, Rigsarkivet, Tyske Kancelli, SHLK A IV 89, “Relationer fra guvernør i Glückstadt Christian Pentz”, 1629–1645 (unit 274999), images 321–323 (29 April 1644), 402–412, 420 and 425 (1645).
C. F. Bricka and J. A. Fridericia (eds), Kong Christian den Fjerdes egenhændige Breve, vol. V (1641–1644), Copenhagen, pp. 445 and 449 (letters to Corfitz Ulfeldt, 3 and 11 February 1644: Glückstadt provisioned until April, successful sorties); vol. VI (1645–1648), p. 90 (13 October 1645, inquiry into Pentz’s conduct) and pp. 119–120, n. 2 (court martial at Flensburg, January 1646). vol. V ↗ · vol. VI ↗
Diarium Tychopolitanum oder kurtze Verzeichnuß dessen, was zeit wärenden Schwedischen Einfals in Holstein … aus der Vestung Glückstadt tentiret und effectuiret worden (1646), reprinted in Neues staatsbürgerliches Magazin, vol. I, Schleswig, 1832, pp. 877 ff. (14 April 1644: p. 884; spring 1645: pp. 893–896). Internet Archive ↗
“Torstenssonkrieg”, Wikipedia (de), consulted 14 November 2026. Wikipedia ↗
“Helmut Wrangel’s reconquest of Jutland”, Wikipedia (en), consulted 14 November 2026. Wikipedia ↗
Daniel Bourdeau, cyphersolver repository: catalogue of ciphers and the 95% rule; our proposal: PR #545 ↗.
Record “Christian Pentz, governor of Glückstadt” on the Documents page, with the texts, translations, counts and credits.