# AI helps crack a 217-year-old Napoleonic cipher

> A coded letter sent to Napoleon’s general Auguste Marmont in 1809 has been decrypted by AI engineer Carter Church with the help of GPT-6 Astra.

- Publisher: JARRUS (@jarrus.tech), thejarrus.com
- Story date: Oct. 2, 2026 (2026-10-02)
- Published: 2026-10-02
- Tags: OpenAI, Research, Models
- URL: https://thejarrus.com/en/news/napoleon-cipher/

A coded letter sent to Napoleon's general Auguste Marmont in 1809 has been **decrypted with the help of AI**. It opens with one line of plain French, then 24 rows of numbers, letters and invented symbols.

The letter was on Satoshi Tomokiyo's Cryptiana list of unsolved historical ciphers. In September, Tomokiyo reviewed a solution from AI engineer Carter Church and **marked it solved**.

According to Church, the whole job ran from a single image:

- GPT-6 Astra cut the plate into rows and transcribed **1,300 cipher units**, made up of 155 distinct signs.
- A partial table for this cipher, published earlier by French cryptology historian Daniel Tant, gave 33 letter values and **unlocked a third of it**.
- The rest was cracked with simulated annealing: the solver kept swapping letter assignments and searched for the version that read most like French.
- Cross-checking other letters of the period corrected the published date from 1807 to 1809.

Church says the impressive part isn't the codebreaking itself. It's that the whole multi-step workflow was completed from a single image and a goal, in **about six hours of model time**.

https://x.com/CarterWChurch/status/2105167567706816690

He added a few evenings of his own. To test the result, he reran the solver with Marmont's memoirs and every Napoleonic text removed from its language model, and it **reached the same reading**.

The decoded letter is a war briefing sent **two weeks before Austria invaded** Bavaria. On Napoleon's orders, Eugène de Beauharnais, Viceroy of Italy, tells Marmont in cipher where every army stands.

It also fills a gap. In Napoleon's correspondence, printed in 1865, the order has a gap mid-sentence: Marmont mustn't be pinned down by "a handful of . . ." The cipher letter carries the rest: "**a few troops or a gathering of rabble**." It's a paraphrase, not Napoleon's exact words, but it's the first direct evidence of what the dots were hiding.

Church says the cipher itself isn't hard, and a patient specialist could have cracked it in 1970.

But transcribing, cataloguing, translating and then breaking it would have taken **weeks of a specialist's time** across several disciplines. Nobody could justify that time, so the letter sat unread.

Every field has a backlog of unsolved niche problems that specialists don't have the bandwidth for. Church's takeaway: the people shortening those lists will increasingly be **outsiders who were simply curious**.

Still, this is Church's own account. As far as we know, there's no published independent review besides Tomokiyo's, and five signs remain uncertain, though Church says none of them changes what the letter means.

## Sources

1. [Carter Church: Breaking the Marmont Cipher, 1809, Sept. 18, 2026](https://carter.church/writeups/the-letter-to-marmont/)
2. [Carter Church (X): post on X (6-part thread), Sept. 30, 2026](https://x.com/CarterWChurch/status/2105167567706816690)
3. [Cryptiana (Satoshi Tomokiyo): Unsolved Historical Ciphers](https://cryptiana.web.fc2.com/code/unsolved.htm)
4. [ARCSI (Daniel Tant): Code entre Eugène de Beauharnais et le Général Grammont](https://www.arcsi.fr/doc/Tant/373.pdf)
5. [Correspondance de Napoléon Ier: Correspondance de Napoléon Ier; publiée par ordre de l’empereur Napoléon III](https://archive.org/details/correspondancede18napouoft)
6. [The Telegraph: Napoleon’s 217-year-old coded message ‘cracked by AI’, Oct. 1, 2026](https://tech.yahoo.com/ai/chatgpt/articles/napoleon-217-old-coded-message-131452147.html)

Report an error: corrections@thejarrus.com
