 The main part of the Ottoman forces retreated to the Balkans.A part of the Ottoman army under Kara Mehmed Pasha encamped in Párkány, Hungary, where they were supported by Imre Thököly, a local ruler.Polish forces under Sobieski followed the Ottoman troops to Párkány to destroy them as they retreated.