 James Louis Sobieski's own mother, Marie Casimire, favored her son-in-law, Maximilian II Emanuel, Elector of Bavaria.The powerful King Louis XIV of France supported François Louis, Prince of Conti (1664–1709).In the end, Frederick Augustus, Elector of Saxony, who renounced Lutheranism and converted to Catholicism in order to qualify, was crowned as Augustus II, King of Poland on 1 September 1697.