Stephen III of Moldavia
Poland and the Ottoman Empire had been at war since the end of the 15th century following Jagiellonian attempts to take control over Hungary and Bohemia. The Jagiellon king Vladislas II of Hungary was occupying the throne of Hungary and Bohemia. The Jagiellons also allied with Stephen III of Moldavia in 1484-87 to recover territories from the Ottomans, and later invaded Moldavia in 1497.