Charles VI succeeded his elder brother, Joseph I, as Holy Roman Emperor, King of Bohemia (as Charles II), King of Hungary and Croatia, Serbia and Archduke of Austria (as Charles III) in 1711. He unsuccessfully claimed the throne of Spain following the death of his relative, Charles II, in 1700. He married Elisabeth Christine of Brunswick-Wolfenbüttel, by whom he had his two children: Maria Theresa, the last Habsburg sovereign, and Maria Anna, Governess of the Austrian Netherlands.
Four years before the birth of Maria Theresa, faced with his lack of male heirs, Charles provided for a male-line succession failure with the Pragmatic Sanction of 1713. The Emperor favoured his own daughters over those of his elder brother and predecessor, Joseph I, in the succession, ignoring the decree he had signed during the reign of his father, Leopold I. Charles sought the other European powers' approval. They exacted harsh terms: Britain demanded that Austria abolish its overseas trading company. In total, Great Britain, France, Saxony-Poland, the Dutch Republic, Spain, Venice, States of the Church, Prussia, Russia, Denmark, Savoy-Sardinia, Bavaria, and the Diet of the Holy Roman Empire recognised the sanction. France, Spain, Saxony-Poland, Bavaria and Prussia later reneged.
Charles died in 1740, sparking the War of the Austrian Succession, which plagued his successor, Maria Theresa, for eight years.