sentences:  In the first version Nikola Jurišić rejected the offer to surrender on favourable terms, and in the second version, the city was offered terms for a nominal surrender.In any case, the Ottomans withdrew at the arrival of the August rains.During their retreat, they suffered a defeat at the Battle of Leobersdorf against an imperial army led by Frederick II, Elector Palatine.