Maria Anna of Austria was born on Christmas Eve, 1634, in Wiener Neustadt, south of Vienna, into a dynasty that had spent a century perfecting a dangerous habit: marrying its own blood. Her father, Archduke Ferdinand of Austria, was the son of the Holy Roman Emperor and would himself inherit the imperial throne three years later. Her mother, also named Maria Anna, was the daughter of King Philip III of Spain. The union of her parents joined the Austrian and Spanish branches of the Habsburg family, two lines that had ruled most of Europe since two brothers divided the empire in the early sixteenth century.

For generations, both branches had intermarried obsessively, believing that keeping royal blood within the family preserved their power. In practice, it preserved their genetic weaknesses as well. Maria Anna grew up as the Thirty Years’ War consumed Central Europe. Her father was determined to end the conflict, and by 1645, as peace negotiations advanced, attention turned to her future marriage, which was to be a key move on the Habsburg chessboard.
The plan was straightforward: she would marry Balthasar Charles, Prince of Asturias, the only son of King Philip IV of Spain. The match had one obvious flaw. Balthasar Charles was her first cousin, the son of her mother’s brother. For the Habsburgs, that was hardly an obstacle.
An agreement was reached in 1646, and Maria Anna was expected to marry him once she came of age. Then fate intervened. In October 1646, just weeks after the betrothal, Balthasar Charles fell ill and died, possibly from smallpox, days before his seventeenth birthday. Spain was suddenly without an heir, and Philip IV, a widower in his forties, faced a succession crisis.
His solution was shocking. Since his son could not marry Maria Anna, Philip IV would marry her himself. The arrangement was accepted. On October 7, 1649, in a church in Madrid, Maria Anna, fourteen years old, married her uncle, who was forty-four.
She was now queen consort of the largest empire on Earth. Spanish dominion spanned the Americas, the Philippines, and vast territories beyond. Her husband was known at court as Rey Planeta, the Planet King, a title meant to reflect an empire that encircled the globe. Thrust into the heart of Spanish royalty at fourteen, Maria Anna adapted quickly.
She mastered Spanish, learned to navigate the treacherous politics of the Madrid court, and prepared for a far greater role than the one she had been given. Though she was Philip’s wife, she would eventually become the real power behind the throne. The marriage produced children. Their first daughter, Margaret Teresa, was born in 1651, and her fate mirrored her mother’s in an eerie act of dynastic repetition.
At fourteen, she was sent to Vienna and married her uncle Leopold I, Maria Anna’s own brother. Two other children died in infancy. Then came two sons: Philip Prospero, born in 1657, and Charles, born in 1661. Philip Prospero died in 1661, leaving only Charles as the last hope for the Spanish throne.
In 1665, Philip IV died, leaving behind a weakened empire and a fragile heir who had just turned four. Charles became king, but he was far too young to rule, and when he came of age, power-hungry nobles would dominate his court for years. A swift decision was made: Maria Anna would serve as regent. In effect, she became the de facto ruler of Spain.
Ruling as a female regent in one of the most patriarchal courts in Europe was a constant struggle. Senior Spanish nobles challenged her authority relentlessly. The empire she inherited was in decline. Once the world’s greatest superpower, fueled by gold and silver from the mines of Mexico, Peru, and Bolivia, Spain was now running out of wealth.
Political stagnation, economic troubles, and domestic unrest were impossible to ignore. Wars drained resources and morale. The longest-running conflict was with Portugal, under Spanish rule since 1580 but in rebellion since 1640. France and England backed the Portuguese, and the war was unwinnable.
Acting on the advice of her Jesuit counselor, Cardinal Juan Everardo Nithard, Maria Anna made the difficult decision to cut Spain’s losses. In 1668, she signed the Treaty of Aix-la-Chapelle and the Treaty of Lisbon, ending the war with France and formally recognizing Portugal’s independence. Spain’s troubles were far from over. Four years later, war broke out again with France.
King Louis XIV was determined to seize the Spanish Netherlands, modern-day Belgium and Luxembourg, for himself. The struggle for Spain’s survival continued. But the greatest crisis was at home. As her son grew, it became clear that Charles II was profoundly unwell.
His body never developed properly. He could barely walk unaided, had such an extreme Habsburg jaw that chewing was difficult, and his mental faculties were severely impaired. He aged prematurely, showing dementia-like symptoms in his twenties and beginning to go bald. His contemporaries called him El Hechizado, the Bewitched King, believing his afflictions were the result of sorcery.
The real cause was more sinister. Charles’s condition was likely the result of generations of inbreeding. He probably suffered from a combination of genetic disorders, including hormonal deficiencies, epilepsy, and skeletal deformities. His inbreeding coefficient was shockingly high; some estimates suggest his genetic makeup was as inbred as that of a child born to siblings.
Modern researchers have also proposed autosomal recessive disorders and a herpetic infection in infancy that caused hydrocephalus. By the 1670s, it was undeniable that Charles would never fully rule Spain. An empire that was already struggling internationally now faced the nightmare of a king who could barely function. Charles was declared of age in 1675 at fourteen, and Maria Anna’s ten-year regency formally ended.
But court factional fighting and his clear inability to govern allowed her to orchestrate the restoration of the regency in 1677. Her return to power was brief. John Joseph of Austria, the illegitimate son of Philip IV and Charles’s half-brother, seized control of the regency. He held power for only two years before his death in 1679.
With him gone, Maria Anna reclaimed the regency and held it for the rest of her life. Her greatest concern was securing the future of the Spanish monarchy. Charles might be unfit to rule, but he might still father an heir who could restore the dynasty. In 1679, she arranged his marriage to Marie Louise d’Orléans, niece of King Louis XIV.
The marriage was miserable for the young French bride and produced no children. After years of suffering in a foreign court, Marie Louise died in 1689, likely from a burst appendix, though some whispered poison. Determined to secure an heir, Maria Anna arranged Charles’s remarriage within months. His second wife, Maria Anna of Neuburg, was chosen for her family’s reputation for fertility; her parents had seventeen children.
It made no difference. Charles remained childless. These were difficult years for the queen mother. She was constantly anxious about Spain’s decline, her son’s condition, and the future of the Habsburg dynasty.
She frequently argued with her daughter-in-law. In 1692, her granddaughter Maria Antonia of Austria died at just twenty-three, a terrible blow to the already melancholy queen. By the early 1690s, it was painfully clear that Charles would never produce a child. His health deteriorated rapidly, and many at court expected his death at any moment.
Yet he lingered on for another decade. Maria Anna would not live to see his final days. In the mid-1690s, she developed what appears to have been breast cancer. After years of political struggle and failed efforts to secure Spain’s future, she died in Madrid on May 16, 1696, at the age of sixty-one.
Her life’s work, preserving the Habsburg dynasty, had failed, and her failure would plunge Europe into a catastrophic war. Charles II did not outlive her for long. On November 1, 1700, the Bewitched King died at just thirty-eight, childless. With his death, the Spanish Habsburg dynasty came to an end.
For years, the Spanish court had wrestled with the looming succession crisis. Maria Anna had favored her own family, the Austrian Habsburgs, as the rightful heirs. Her preferred candidate was her nephew, Archduke Charles of Austria, a choice that would keep Spain under Habsburg rule without uniting Austria and Spain under a single monarch, a scenario the other European powers would never accept. But before his death, Charles II overturned his mother’s wishes.
In his final will, he named Philip of Anjou, grandson of Louis XIV and great-grandson of Philip IV, as his heir. That dynastic decision ignited a full-scale conflict. The War of the Spanish Succession erupted in 1701 as Europe’s most powerful nations fought over the fate of Spain. The war raged for thirteen years, drawing in nearly every major European power.
It ended with the Treaty of Utrecht in 1713, which confirmed Philip V, a Bourbon, as King of Spain. The price was heavy: Spain lost many of its European territories, and the Habsburgs were permanently shut out of the Spanish throne. For nearly two decades after her death, the consequences of Maria Anna’s marriage and her son’s tragic fate cast a long shadow over Europe, despite every effort she had made to prevent such a disaster.