You've probably heard the term Mata Hari at some point in the past—most likely describing a mysterious woman, a dangerous woman, a sensual woman. Somewhat less ubiquitous is the story of the woman named Mata Hari—the woman who defined exoticism and intrigue and, some would say, died for it.

Alfred A. Knopf

But with Paulo Coelho's latest endeavor, The Spy, the life of "one of history's most enigmatic women" is drawn in poignant, vivid detail. The inspiringly independent choices that led Margaretha Zelle to become Mata Hari, to earn her living as an exotic dancer in Paris, and to involve herself in the volatile transfer of wartime communications are also the choices that make her a paragon of feminine empowerment and independence—although she paid for her radicalism in the end.

In this excerpt, our heroine looks back on her life with melancholy, wistfulness, and resignation as she marches toward a certain end—though even her final musings are shot through with fragile shadows of hope.

Mata Hari would be the first to tell you she did not live a perfect life. She was no saint. But then, how much better is a life spent making mistakes than a life spent doing nothing?

Alfred A. Knopf

Perhaps her story holds the answer.

Dear Mr. Clunet,

I do not know what will happen at the end of this week. I have always been an optimistic woman, but time has left me bitter, alone, and sad.

If things turn out as I hope, you will never receive this letter. I'll have been pardoned. After all, I spent my life cultivating influential friends. I will hold on to the letter so that, one day, my only daughter might read it to find out who her mother was.

But if I am wrong, I have little hope that these pages, which have consumed my last week of life on Earth, will be kept. I have always been a realistic woman and I know that, once a case is settled, a lawyer will move on to the next one without a backward glance.

I can imagine what will happen after. You will be a very busy man, having gained notoriety defending a war criminal. You will have many people knocking at your door, begging for your services, for, even defeated, you attracted huge publicity. You will meet journalists interested to hear your version of events, you will dine in the city's most expensive restaurants, and you will be looked upon with respect and envy by your peers. You will know there was never any concrete evidence against me—only documents that had been tampered with—but you will never publicly admit that you allowed an innocent woman to die.

Innocent? Perhaps that is not the right word. I was never innocent, not since I first set foot in this city I love so dearly. I thought I could manipulate those who wanted state secrets. I thought the Germans, French, English, Spanish would never be able to resist me—and yet, in the end, I was the one manipulated. The crimes I did commit, I escaped, the greatest of which was being an emancipated and independent woman in a world ruled by men. I was convicted of espionage even though the only thing concrete I traded was the gossip from high-society salons.

Yes, I turned this gossip into "secrets," because I wanted money and power. But all those who accuse me now know I never revealed anything new.

It's a shame no one will know this. These envelopes will inevitably find their way to a dusty file cabinet, full of documents from other proceedings. Perhaps they will leave when your successor, or your successor's successor, decides to make room and throw out old cases.

By that time, my name will have been long forgotten. But I am not writing to be remembered. I am attempting to understand things myself. Why? How is it that a woman who for so many years got everything she wanted can be condemned to death for so little?
At this moment, I look back at my life and realize that memory is a river, one that always runs backward.

Memories are full of caprice, where images of things we've experienced are still capable of suffocating us through one small detail or insignificant sound. The smell of baking bread wafts up to my cell and reminds me of the days I walked freely in the cafés. This tears me apart more than my fear of death or the solitude in which I now find myself.

Memories bring with them a devil called melancholy—oh, cruel demon that I cannot escape. Hearing a prisoner singing, receiving a small handful of letters from admirers who were never among those who brought me roses and jasmine flowers, picturing a scene from some city I didn't appreciate at the time. Now it's all I have left of this or that country I visited.

The memories always win, and with them comes a demon that is even more terrifying than melancholy: remorse. It's my only companion in this cell, except when the sisters decide to come and chat. They do not speak about God, or condemn me for what society calls my "sins of the flesh." Generally, they say one or two words, and the memories spout from my mouth, as if I wanted to go back in time, plunging into this river that runs backward.

One of them asked me:

"If God gave you a second chance, would you do anything differently?"

I said yes, but really, I do not know. All I know is that my current heart is a ghost town, one populated by passions, enthusiasm, loneliness, shame, pride, betrayal, and sadness. I cannot disentangle myself from any of it, even when I feel sorry for myself and weep in silence.

I am a woman who was born at the wrong time and nothing can be done to fix this. I don't know if the future will remember me, but if it does, may it never see me as a victim, but as someone who moved forward with courage, fearlessly paying the price she had to pay.

Alfred A. Knopf