Mata Hari was suspected of being a double agent for France and Germany with the code name H21 during World War I before a French firing squad executed her in 1917, according to an account published by Kompas.tv citing Reader’s Digest: Great Mysteries of The 20th Century (1999). Born Margaretha Geertruida Zelle in the Netherlands in 1876, the former exotic dancer became a central figure of wartime espionage after French prosecutors accused her of spying for Germany.
The Rise of an Exotic Paris Entertainer
Mata Hari captivated Parisian elite audiences in 1905 by performing in a jewel-encrusted corset and veil while claiming to be an exotic temple dancer, according to an article by Suzanne Cords for DW Indonesia. Born the daughter of a Dutch hat maker in Leeuwarden, she invented a fictional background as a revered Brahmin princess after her family faced financial ruin and her father went bankrupt when she was 13 years old. Parisian media praised her open performances during the Belle Epoque era, a period marked by intense public fascination with cultures considered exotic.
Before her stage career, she married Rudolph MacLeod, a Dutch man of Scottish descent, through a newspaper advertisement, according to Kompas.tv. The marriage lasted 11 years before ending due to his abusive and heavy-drinking habits. During her time living in Java with MacLeod, she grew fascinated by local dances and erotic dance art, which later inspired her stage routines in Europe.
Wartime Espionage Allegations and Code Name H21
When World War I broke out in July 1914, Mata Hari happened to be in Berlin, where French intelligence agents reported she spent time with the local police chief, according to Kompas.tv. That police chief was an old friend who had previously helped her avoid legal trouble over her nude dancing acts. French prosecutors subsequently accused her of spying for Germany under the code name H21—where the letter H stood for Holland, the country where she spent several months in 1915.
French intelligence agents tracked her movements across Paris and other European cities throughout 1915 and 1916. Allied intelligence could not immediately find concrete proof to arrest her, despite noting her extensive network of acquaintances among diplomats and military attachés from neutral nations like Sweden, Spain, and the Netherlands. When French authorities threatened her with deportation in 1916, Mata Hari denied spying for the German Kaiser but offered to leverage her high-society German contacts to gather intelligence for France, according to Kompas.tv.
Trial and Execution by a French Firing Squad
Captain Georges Ladoux of the Second Bureau of French intelligence engaged with Mata Hari’s proposal. She was later tried on espionage charges. French authorities maintained that her network posed a security risk during the conflict between the Allied powers—comprising Britain, France, Russia, Italy, and the United States—and the Central Powers, which included Germany, Austria-Hungary, the Ottoman Empire, and Bulgaria. In 1917, she was executed by a French firing squad.

Frequently Asked Questions
What was Mata Hari’s real name?
According to DW Indonesia and Kompas.tv, her real name was Margaretha Geertruida Zelle, born in Leeuwarden, Netherlands, on August 7, 1876.
Why was Mata Hari accused of being a spy?
According to Kompas.tv, French prosecutors accused her of acting as a German spy under the code name H21 during World War I due to her extensive contacts among high-ranking German officials and diplomats in neutral countries.
How did Mata Hari die?
According to Kompas.tv, a French firing squad executed her in 1917 after she was tried for espionage.
Did you know? Mata Hari’s stage name translates to “sun” in the Malay language, a moniker she adopted after building a fictional backstory as a temple dancer.
Want to explore more historical investigations and deep dives into world history? Leave a comment below or subscribe to our newsletter for weekly updates.
Worth a look