King Sigismund's army was catastrophically defeated at the Battle of Nicopolis (1396) as the Ottoman invasion was getting closer to the borders of the Hungarian-Croatian kingdom. Without news about the king after the battle, the then ruling Croatian ban Stjepan Lacković and nobles invited Charles III's son Ladislaus of Naples to be the new king. This resulted with Bloody Sabor of Križevci in 1397, lose of interest for the crown by Ladislaus and selling of Dalmatia to Venice in 1403, and spreading of Croatian name to the north, while of Slavonia to the east. The dynastic struggle didn't finish, and with the Ottoman invasion on Bosnia started the first short raids in Croatian territory, defended only by local nobles.