Mikołaj defeated Vlachs in the Battle of Czerniowce during the Moldavian campaign in 1509 and Turks in 1512 in the Battle of Łopuszno.