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 demanded significant terms, among which were that Austria close the Ostend 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.