Story · Revolt of the Comuneros, 16th century
Castile, 1520: what the governors wrote to Charles V in cipher
In May 1520 Charles V leaves Spain to be crowned in Germany and leaves Castile to Cardinal Adrian of Utrecht. The towns rise; their Junta takes hold of Queen Joanna at Tordesillas. Two items at Simancas show what the king’s men would not write in clear: a paragraph by Adrian, in September, which the nineteenth-century editor could not translate, and a letter wholly in cipher by Lope Hurtado de Mendoza, five days after Tordesillas was retaken, in December.
« la gente muy mal mandada, como es de muchos, que es el mayor temor que tenemos »
“The troops very badly commanded, as any force with many chiefs: that is the greatest of our fears”: Lope Hurtado de Mendoza to Charles V, from the royal army, Tordesillas, 10 December 1520 (cipher letter).
What is new, what was known
Known. At the end of the nineteenth century Antonio Danvila printed most of the governors’ correspondence, with the decipherments made at the time.[1] For Adrian’s letter of 9 September 1520 he notes: “Sigue un párrafo cifrado que no ha podido traducirse”, a cipher paragraph follows which could not be translated. For 10 December he prints Lope Hurtado’s letter in clear, not his cipher letter of the same day. In April 2026 Mikel García Larragan published the cryptanalysis of another cipher letter by Adrian, of 28 July 1520.[5]
What we add, to our knowledge. (1) The reading of Lope Hurtado’s cipher letter (AGS, PTR,LEG,2,36,8), flagged in Daniel Bourdeau’s catalogue (no. 626): read, 97.7% of some 920 words, with a key rebuilt from the letter itself.[2] (2) The reading of Adrian’s paragraph (PTR,LEG,2,1,19), with his code rebuilt from his other letters: read in part, 43 words out of 46 (93.5%), below the 95% bar.[3]
1520: a kingdom without its king
To pay for his election to the Empire, Charles obtained an extraordinary tax from the Cortes of La Coruña; he sails on 20 May 1520 and entrusts the regency to his former tutor, Adrian of Utrecht, Cardinal of Tortosa. Toledo and Segovia rise; the rebel towns form a Junta at Ávila. On 21 August, trying to seize the royal artillery, the regent’s troops burn Medina del Campo; on 29 August Juan de Padilla enters Tordesillas, where Queen Joanna, Charles’s mother, lives, and whom the Junta wants to make reign. On the night of 1 September, at Dueñas, the vassals of the Count of Buendía rise against their lord: the revolt of the towns also becomes a revolt against the lords.[4]
9 September: the Junta against the Grandees
Eight days later Adrian writes from Valladolid. The letter, in clear, tells how he tried in vain to draw the Junta into his town, then announces: “el fin que sobresto tienen sabrá V. Al. por la cifra que va dentro desta”, the aim they pursue Your Highness will learn from the cipher enclosed in this letter. The contemporary decipherment of that enclosed sheet is kept separately (PTR,LEG,2,1,107): according to the Marquis of Villena’s secretary, the Junta means to take the title of king from Charles during his mother’s lifetime and no longer obey his orders. Then comes, in the letter itself, the cipher paragraph:
“… all the more as {perhaps} this will give ‹…› to these [people], who rise not {only} {against} [Your] Majesty, {but} also against all the Grandees, from whom they {mean} {first} to {take} all the {alcabalas}, {then} all the {towns} {and} places which a {short} while ago {were} of the royal {Crown}.”
The regent does not merely describe a rebellion: he points the king to a common interest with the high nobility. In many lordships the alcabalas, the sales tax, went to the lord; towns and places alienated from the Crown made the Grandees’ fortunes. If the Junta means to take them back, the Grandees have everything to lose with it. That is the card the Crown plays: in September 1520 Charles appoints two Grandees, the Constable Íñigo de Velasco and the Admiral Fadrique Enríquez, as governors alongside Adrian.[4]
10 December: victory and its divisions
On 5 December 1520 the governors’ army retakes Tordesillas; the town is sacked, some of the Junta’s procurators are taken. On the 10th, Lope Hurtado de Mendoza, a gentleman of Charles’s household attached to the governors, writes two letters to the king. The first, in clear, tells of the victory; Danvila printed it. The second, wholly in cipher, tells the other side of the story.
- A governor tempted by a deal. The man the letter calls by the siglum “·fre·” wants “an agreement with those of the Junta, at any price”, holds the queen to be of sound mind, hesitates to accept the government and “changes his mind on a thousand things every day”: probably the Admiral Fadrique Enríquez (hypothesis: the siglum would be his abbreviated first name).
- A badly commanded army. Too many lords, who agree badly, “above all ·fre· and the Count of Benavente”: “that is the greatest of our fears”. Money is short to keep the troops; Lope asks for credit and for the post to be sent at once.
- A hated man. The Marquis of Denia, whom the Comuneros had driven out of the queen’s household, comes back “with more passion than was needed”; his arrival weighed on the people of Tordesillas as much as the sack.
- Holding loyalties. Let the king keep the bishopric of Jaén and every vacant office unfilled: the hope of a grace binds men to serve, and giving to one loses the others. Ferdinand the Catholic had done the same in Naples.
- The Grandees’ “three ends”. Their own interest first, their credit with the king next, the good of the realm last, “provided they do not come out of it in need”.
The two items answer each other. In September Adrian wants to win the Grandees to the king by showing them what they would lose with the Junta; in December they have been won, but Lope Hurtado describes to the king a divided and self-interested coalition, to be held by graces. The war is decided four months later, at Villalar, on 23 April 1521.
Two ciphers
- Lope Hurtado: a homophonic letter substitution (about 35 signs), words kept apart, and dotted sigla for persons (·fre·, ·lis·, ·los·, ·lus·, ·ym·), unresolved. An archivist’s slip in the bundle, in Julián Paz’s hand, said the key was to be found in a letter of 23 September 1520: its values do not fit.
- Adrian: a code of “dotted trigraphs” (gig. = que, leb. = no, mu. = magestad…) and an alphabet of homophonic signs. The same code serves in his letters of 1520 and 1521.
How we read them
- Lope Hurtado. The words “vuestra magestad”, repeated, broke the cipher. The key, built on the first sixteen lines of the recto and frozen (SHA-256), was tested on lines of the verso transcribed and frozen before any decoding: 0.827 of the words belong to the Spanish lexicon, against 0.519 at the 99th percentile and 0.596 at most for 200 control keys.
- Adrian. The key was rebuilt from his letters of 1520–1521 whose clear text is known, then tested, in a single measurement, on a held-out letter (5 December 1521, compared with the decipherment printed by Danvila): 0.882 of characters, against at best 0.176 for 200 controls. Three earlier keys had failed this test; we withdrew them. On 9 November 2026, following a lead from Daniel Bourdeau, a cipher sheet of 1521 whose clear text is printed gave three more words.
- Brice Dudout’s blind reviews: doubtful signs shown as shapes, with no reading visible (twelve for Lope Hurtado; thirty-three for Adrian, on three sheets).
What remains uncertain
- Lope Hurtado: read. About 920 cipher words; 97.7% read (95.4% certain, 2.3% probable); 2.3% unresolved. The dotted sigla remain unresolved; identifying “·fre·” with the Admiral is a hypothesis.
- Adrian: read in part. 46 cipher words: 28 certain, 15 probable, 2 restored from the sense, 1 unresolved, i.e. 93.5% read, below the 95% bar. The word after “dará” remains unknown; “quitar” (take away) and “villas” are probable, not certain.
- The context is checked against Danvila and general syntheses; the major studies of the Comunidades were not consulted for this story.
- Prior work. Checked on 14 November 2026: Daniel Bourdeau’s catalogue and repository, Danvila, Bergenroth, Höfler, a web search; the Archivos Comuneros project lists Lope Hurtado’s letter without a transcription.[6]
- No images. The Simancas images can be seen on PARES; they are not reproduced here.
References
A. Danvila, Historia crítica y documentada de las Comunidades de Castilla, in Memorial histórico español XXXV–XL, Madrid, 1897–1900; vol. XXXVI, pp. 17–19 (Adrian’s letter of 9 September 1520) and pp. 688–690 (Lope Hurtado’s letter in clear of 10 December 1520); vol. XXXVIII (decipherments of 1521 used for Adrian’s key).
Simancas, Archivo General, Patronato Real, PTR,LEG,2,36,8, f. 1r–1v, cipher letter of Lope Hurtado de Mendoza to Charles V, 10 December 1520. PARES ↗
Simancas, Archivo General, Patronato Real, PTR,LEG,2,1,19, f. 1r, letter of the Cardinal of Tortosa to Charles V, Valladolid, 9 September 1520. PARES ↗
“Guerra de las Comunidades de Castilla”, Wikipedia (es), accessed 14 November 2026. Wikipedia ↗
Mikel García Larragan, “Criptoanálisis a una carta cifrada del cardenal de Tortosa” (I–IV), El blog de García Larragan y Cía, 2–6 April 2026 (letter of 28 July 1520). Blog ↗
Record “Carta cifrada de Lope Hurtado de Mendoza al rey” (10-12-1520), without a transcription, accessed 14 November 2026. Archivos Comuneros ↗
Daniel Bourdeau, cyphersolver repository: catalogue no. 626 (Lope Hurtado), the fol. 434 lead (Adrian, 7 November 2026), the 95% rule; targets lopehurtado1520 and adrian1520.
The records Lope Hurtado, 1520 and Cardinal of Tortosa, 1520 on the Documents page, with the texts, justifications, counts and credits.