Thread about Sobieski-Habsburg marriage ( https://www.alternatehistory.com/forum/threads/sobieski-habsburg-marriage-wi.437001/#post-16516938 ) by @Vitruvius inspired me to create TL based on earlier change within House of Habsburg-survival of Ferdinand IV, King of the Romans. Keeping him alive I want to achieve two goals. First would be continuation of Habsburg rule in Spain. Due to fact, that Ferdinand was planned to marry Maria theresa of Spain, Austrian Habsburgs would have best genealogical claim to Spanish throne ITTL. Second goal is estabilishing Sobieski family as rulling house of Poland. So Ferdinand would outlive his father and succeede him as Holy Roman Emperor, he'd marry Maria Theresa as planned and would have 3 surviving children with her-sons Philip (born 1659) and Ferdinand (born 1664) and daughter Maria Theresa (born 1668). So there is one male heir to Austria and HRE and one who could inherit Spanish crown. Archduke Leopold would likely start new Tirolean/Styrian branch ITTL. Louis XIV would marry his OTL sister-in-law, Henriette of England, thus Bourbons would have no serious claims to the Spanish throne. Emperor Ferdinand IV would die in 1680 ITTL, his oldest surviving son would succeede him as Emperor. This is where second change starts-say that young Emperor Philip II is honourable man. there is still war with Ottomans and Battle of Vienna ITTL, but after battle Emperor feels that he owes debt of gratitude to King John III and do not looks him down because of his low birth and arrogance. Instead Philip agrees to marry his only sister, Maria Theresa to young Jakub Sobieski and to give him Ducal title and Oppeln in Silesia as hereditary duchy. Thus Sobieski, due to generous offer of Emperor switch to pro-Habsburg camp. Sobieski family due to Habsburg marriage rise in prominence, Jakub Sobieski would recive Austrian support during 1697 election and would get Polish throne (Austrian support was crucial for Augustus II's OTL victory, so with Sobieski it should be enough too), if he's lucky with progeny he'll estabilish new dynasty (I can imagine long line of kings named John alternated with those named James).
So begining of 18th century looks promising for Habsburgs and Sobieskis, not so much for Bourbons. Habsburg encirclement of France would continue-Archduke Ferdinand should have no serious problems to claim the throne after his crippled uncle (yes, I'll use butterfly net, despite my personal view of butterfly effect to keep sanity, so there is still Carlos II). Charles XII of Sweden also would appear on the picture, but Great Northern War would not look like IOTL...
So begining of 18th century looks promising for Habsburgs and Sobieskis, not so much for Bourbons. Habsburg encirclement of France would continue-Archduke Ferdinand should have no serious problems to claim the throne after his crippled uncle (yes, I'll use butterfly net, despite my personal view of butterfly effect to keep sanity, so there is still Carlos II). Charles XII of Sweden also would appear on the picture, but Great Northern War would not look like IOTL...