Ciphered Europe

Story · War of the Mantuan Succession, 17th century

Casale, 1630: what Philip IV wrote in cipher after Mazarin’s coup

On 26 October 1630, before the besieged citadel of Casale, the French and Spanish armies were about to engage when a young papal diplomat, Giulio Mazarini, rode between the lines and forced an agreement. Six weeks later, in Madrid, Philip IV answered his governor of Milan, the Marquis of Santa Cruz. The letter, almost entirely in cipher, still bears the note “sin descifrar”: nobody had put it into plain text.

« Y sobre todo os encargo no gastéis un real mal gastado. »

“And above all, I charge you not to spend a single real amiss”: Philip IV to the Marquis of Santa Cruz, Madrid, 6 December 1630 (ciphered passage).

What is new, what was known

Known. The Casale episode is famous: it made Mazarin’s name.[3] The War of the Mantuan Succession, Spinola’s death before Casale in September 1630 and the peace of Cherasco (1631) are well known.[4] The letter itself is listed in Daniel Bourdeau’s catalogue (no. 725) and described on PARES; the signed original bears “sin descifrar”.[1][2]

What we add, to our knowledge. (1) The first published reading of the letter: 1,171 ciphered words, 1,140 certain or probable (97.4%), read under Daniel Bourdeau’s rule. (2) The key of the royal cipher “A” of 1629–1632, validated on a held-out letter. (3) The king’s answer to Mazarin’s agreement, seen from Madrid: approval, calculation and distrust.

Casale, October 1630

Since 1628 France and Spain had been fighting over the succession to the duchy of Mantua and Montferrat, which had passed to a French prince, Charles de Nevers. Casale, the fortress of Montferrat, held for him with a French garrison. Ambrogio Spinola besieged it; he died in September 1630 and the Marquis of Santa Cruz took command.[4][5] In October a French relief army approached. On the 26th, as battle was about to begin, Mazarini, then an agent of the papal legate, came out of the French lines and had an agreement accepted: the French would hand the citadel to the imperial commissioner, the Spanish would evacuate the town and castle.[3]

At Regensburg the Emperor, Philip IV’s uncle, had just signed a peace treaty for Italy, which Richelieu disowned. The Milanese senator Vilani carried Santa Cruz’s report to Madrid.

This Vilani is Ottavio Villani, a senator of Milan and member of the Council of Italy in Madrid, and an open opponent of the pope’s pro-French policy.[6] The historian Rotraud Becker reports a story told at the time: Mazarini is said to have given him, for his return to Spain, a letter for the nuncio in Madrid, Cesare Monti, with his own account of the agreement, and Villani is said to have had it delivered to Olivares. She sees this as the origin of Madrid’s lasting distrust of Mazarin, but the story rests only on a book printed in 1882, not on an archival document. Our letter confirms that Villani reached Madrid with Santa Cruz’s dispatch and reported on the agreement there; yet on 6 December the king names Mazarini without a word against him, and his distrust is aimed at the French. Reference pointed out by Alina J. Di Mattia (Casa Museo Giulio Raimondo Mazzarino).

Schematic of the places in the letter: Madrid, Milan, Casale, Mantua, Turin, RegensburgMadridMilanCasaleMantuaTurinRegensburgSchematic, not to scale
Illustration · AIIllustration generated by AI (Claude), of no documentary value — this is not a reproduction of the document.

The king’s answer

On 6 December the king replied. The title and address are in plain text; all the rest is in cipher. He approves his governor: the Emperor had been in a state “so broken and discredited”, and “reputation has been restored with advantage by a means so unprecedented”. But the core lies elsewhere:

“The safer course is […] to see to it that what can be gained in the peace does not leave us to renew the war, nor our arms and reputation committed, and that it can be concluded between now and March of next year.”

The king then orders an inquiry, “with great secrecy”, into the army’s lack of preparation before Casale (food, munitions, trenches), and asks for the guilty to be punished “without any indulgence”. He demands that Casale and Mantua stay guarded by the Emperor’s garrisons, that the revenues of Montferrat be collected by the imperial commissioner, that the German troops be sent home content, and that the State of Milan be fortified. And he ends: “above all, do not spend a single real amiss”.

The letter shows what Madrid thought of the Casale agreement: a success of reputation, but also a possible trap, should the French “set foot again” in the place. It also shows a monarchy that wanted peace for reasons of money.

The cipher

How we read it

  1. A key learned from letters of the same series whose period decipherment survives, then frozen by SHA-256 fingerprint.
  2. A blind validation, under a protocol written and frozen beforehand: the key, applied to a held-out letter (D.167, 29 January 1630, 101 words) and only then compared with its period decipherment (D.168), gets 0.752 of words and 0.857 of characters right; 200 control keys reach at best (99th percentile) 0.257 and 0.591. The threshold set in advance (0.75 / 0.85) is met narrowly.
  3. The reading, word by word, under Daniel Bourdeau’s count: 1,112 certain words, 28 probable, 22 restored from the sense (not counted), 9 unresolved.

Another series, of 1635, enciphered with a different key, was attempted three times and failed: its letters remain unread and are not published.

What remains uncertain

References

  1. Manuscript

    Toledo, Archivo Histórico de la Nobleza, SANTA CRUZ, C.50, D.213 (Philip IV to the Marquis of Santa Cruz, Madrid, 6 December 1630); test letter D.167 and its period decipherment (D.168). PARES ↗ · D.167 ↗

  2. Catalogue

    Daniel Bourdeau, cyphersolver catalogue, no. 725, and target santacruz1630 ↗ (the 95% rule).

  3. Mazarin at Casale

    “Cardinal Mazarin”, Wikipedia (en), accessed 14 November 2026. Wikipedia ↗

  4. War of the Mantuan Succession

    “War of the Mantuan Succession”, Wikipedia (en), accessed 14 November 2026. Wikipedia ↗

  5. The governor

    “Álvaro de Bazán y Benavides”, Wikipedia (es), accessed 14 November 2026. Wikipedia ↗

  6. Villani and Mazarin

    Rotraud Becker, “Ottavio Villani – ein Gegner der päpstlichen Politik im Dreißigjährigen Krieg”, Quellen und Forschungen aus italienischen Archiven und Bibliotheken 105 (2025), pp. 324–355, here pp. 334–335 and 345; open access. Reference pointed out by Alina J. Di Mattia (Casa Museo Giulio Raimondo Mazzarino). De Gruyter ↗

  7. Reading

    Transcription, key and count: Brice Dudout with Claude, October 2026; Spanish text and translation in the “Santa Cruz 1630” record on the Documents page, with counts and credits.