But he could not recover Kamieniec, and when the tuszenia pospolite met at Golenba and ordered an inquiry into the conduct of Sobieski and his accomplices he frustrated all their efforts by summoning a counter confederation to meet at Szczebrzeszyn.
The same day King Michael died and Sobieski, determined to secure the throne for himself, hastened to the capital, though Tatar bands were swarming over the frontier and the whole situation was acutely perilous.
Even at the end of August Sobieski had but 3000 men at his disposal to oppose to 60,000 Turks.
The epoch-making victory of the 12th of September 1683 was ultimately decided by the charge of the Polish cavalry led by Sobieski in person.
Shortly afterwards, perceiving that the Turkish cause was now lost, he sought the mediation of Sobieski to reconcile him with the emperor, offering to lay down his arms if Leopold would confirm the religious rights of the Magyar Protestants and grant him, ThOkiily, the thirteen north-eastern counties of Hungary with the title of prince.