With the death of King Matthias Corvinus in 1490 the 7-year truce with Sultan Bayezid II ended and the Ottomans renewed their raids into Croatia and southwestern Hungary. Since the 14th century the Ottomans regularly plundered Croatian and other lands further west. Their light cavalry troops undertook plundering raids, capturing its inhabitants and taking them into slavery. One such raid started in 1491 when Mihaloğlu Hasan Bey from the Sanjak of Bosnia crossed the Una River and led an army consisting of around 10,000 light cavalrymen, known as the Akıncı, across Croatia into lower Carniola. They intended to reach deep into the lands of the Holy Roman Empire, but their advance was stopped by the floods of the Kupa and Krka rivers. They ravaged the countryside near Zagreb, Krško, and Novo Mesto. The Ottomans spent almost a month in Carniola, plundering and taking captives.
Battle
After they plundered Carniola, the Ottoman army was returning towards the Sanjak of Bosnia on their traditional route, Vrhovine – Homoljac – Korenica – Vrpile – Krbava field, leading with them a huge number of prisoners. Since the Ottomans had to go through the narrow Vrpile pass, the Croatian leadership decided to make an ambush there. The Croatian army was led by ban of Croatia Ladislav of Egervár, Count Bernardin Frankopan, and Mihovil Frankopan Slunjski. Ivan Frankopan Cetinski also participated in the battle. The Croatians let most of the Ottoman army enter the valley and then closed the passageway, deploying the main part of the army in 4 rows. The Ottoman army was heavily defeated and had around 1,500 killed and 1,500 imprisoned in the battle, while their captives were released. Later historical records mentioned that 18,000 Christian captives were saved.
Aftermath
King Vladislaus II granted Ban Ladislav the town of Steničnjak in Kordun as a reward for the victory and the 120 Ottoman captives sent to the king. This defeat forced the Ottomans to halt their raids and attacks during the following year, 1492. The Ottomans started their campaigns again in 1493 with the election of Hadım Yakup Paşa as the sanjak-bey of the Sanjak of Bosnia. This defeat was the cause of the 1493 raid into Croatia, resulting in the Battle of Krbava Field on 9 September 1493.