Jovan Nenad considered the struggle around the Hungarian throne just a temporary occupation, his primary task being the fight against the Ottomans for the liberation of the Serb lands. In the first half of 1527, Ferdinand was outside of Hungary, preparing for what would become the Hungarian campaign of 1527–28 to fight Zápolya. During that time, King Zápolya sent armies after Jovan Nenad, wishing to settle his internal affairs before Ferdinand could return to Hungary. Underestimating Nenad's strength, Zápolya sent 300 knights under László Csáky, which were defeated by Jovan Nenad in early April, Csáky himself was captured and executed. After this, Jovan Nenad rose to the peak of his power and he styled himself Emperor. Another Hungarian army was dispatched, led by the Voivode of Transylvania, Péter Perényi. It was defeated by late April near Tiszaszőlős (Battle of Szőlős) on the banks of the Tisza river. Finally, a second army, which encompassed the entire strength of Transylvania and upper Hungary, led by Perényi and Bishop Czibak decisively defeated Jovan's army in the Battle of Sződfalva, killing around 8,000 of his men.