Maria Josepha of Austria was born an Archduchess of Austria, and from 1711 to 1717 was heiress presumptive to the Habsburg Empire. By her marriage to Augustus III of Poland she was the Electress of Saxony and Queen consort of the PolishLithuanian Commonwealth.
Maria Josepha was born in Vienna, an Archduchess of Austria as the eldest child of Joseph I, Holy Roman Emperor, and Princess Wilhelmina Amalia of BrunswickLneburg. During the reign of her grandfather, Maria Josephas father and uncle signed the Mutual Pact of Succession of 1703, which was issued by her grandfather, Emperor Leopold I, and effectively made Maria Josepha the heiress presumptive to her uncle, Emperor Charles VI however, Charles VIs Pragmatic Sanction of 1713 annulled the earlier agreement and made his daughter Maria Theresa his successor instead of Maria Josepha.
Source: Wikipedia