 After falling out of favor with Holy Roman Emperor Charles VI for allowing his daughter Maria Clementina Sobieska to marry James Francis Edward Stuart he lost the principality of Oława in 1719, but was able to regain his Silesian holdings in 1722.Sobieski would return to Oława periodically between 1722 and 1734.He spent the last years of his life managing his properties, traveling between his residences in Ukraine and Silesia, while devoting himself to philanthropy.