Napoleon’s Wartime Correspondence Deciphered by AI in Just Six Hours

Tags:
2026-10-17

IMG_0253.jpeg

A military cipher dating back to the Napoleonic Wars, which had long remained undeciphered, has recently been decoded with the help of artificial intelligence (AI). Carter Church, an engineer at U.S. cybersecurity company SentinelOne, used OpenAI’s GPT-6 Astra model to crack the code in approximately six hours, revealing information about French and allied military deployments contained in the letter.

The document was written in March 1809, when France was at war with Austria. The letter was authored by French Emperor Napoleon Bonaparte and addressed to General Auguste de Marmont. At the time, Marmont was stationed in Dalmatia with his troops, separated from other French and allied forces. The letter therefore served as an important means of communicating battlefield intelligence.

The letter began in French, but the rest of its contents consisted of numbers, letters, and special symbols, forming approximately 24 lines of indecipherable text. Since the original cipher key that may have accompanied the document had been lost, the historical document remained only partially understood for many years.

Church used AI to process images of the letter, first dividing the document into separate sections before identifying handwritten symbols and comparing recurring character patterns. He then analyzed the cipher’s underlying patterns and attempted to reconstruct the original text. The task involved more than simply converting symbols; it required the model to combine image recognition, data organization, and cryptographic analysis in multiple stages. Ultimately, the contents were deciphered within just a few hours.

The decoded message revealed that Napoleon had informed Marmont of the positions and troop deployments of French and allied forces across various regions. It mentioned approximately 80,000 troops assembled in the Friuli region and noted that Russian forces were advancing toward Austria. Napoleon also encouraged Marmont not to lose confidence despite the dispersal of his forces, predicting that Austria would face military pressure from multiple directions.

Historical events show that Napoleon suffered a major setback at the Battle of Aspern-Essling in May of the same year before defeating the Austrian army at the Battle of Wagram in July. The letter therefore offers another historical source through which researchers can examine French strategic assessments and the military situation at the time.

This successful decryption also highlights the potential applications of AI in historical research. Complex documents that once required researchers to spend considerable time identifying symbols and interpreting patterns can now be processed more quickly with the help of AI. However, AI-generated interpretations must still be evaluated against historical context and verified through expert analysis to establish their accuracy and prevent speculation from being mistaken for historical fact.

Could not connect2