Margaret Theresa of Spain (July 12, 1651–March 12, 1673) was the daughter of King Philip IV of Spain and Mariana of Austria. She became Holy Roman Empress, German Queen, and queen consort of Hungary and Bohemia through her marriage to Emperor Leopold I. Her parents’ close Habsburg ties shaped her life from childhood: she was promised to Leopold, her maternal uncle and paternal cousin, when she was 8.
Raised at Madrid’s Royal Alcazar, Margaret received a courtly education and was remembered by her family as lively and affectionate. Her father called her “my joy.” After years of diplomatic negotiations, she married Leopold by proxy in Madrid in April 1666 and traveled to Vienna, where their formal wedding took place that December. The celebrations lasted nearly 2 years. Despite their considerable age difference, the couple shared interests in art and music. Margaret retained her Spanish customs and was surrounded largely by Spanish attendants.
Margaret was a subject of Diego Velázquez’s portraits, including the celebrated painting Las Meninas. During 6 years of marriage, she gave birth to 4 children; only Maria Antonia survived infancy. Margaret died in Vienna on March 12, 1673, at 21, after a period of weakened health and during her seventh pregnancy. She was buried in the Imperial Crypt. Her daughter Maria Antonia inherited her claims to the Spanish throne, which later passed to Maria Antonia’s son, Joseph Ferdinand of Bavaria.