The disbelief of Lovro Iločki and his adherence to Maximilian I of Habsburg conditioned King Vladislav II Jagelović to launch military action against this powerful nobleman in Ilok.
At that time, some nobles were wealthier and more powerful than the kings themselves, so they were often the target of intrigue and desirable political combinations. Lovro Iločki was no exception, calling the king even an "ox", since King Vladislav was quite a "soft hand", many were not afraid of him and openly opposed him, sometimes scalping alliances with the Turks who were invading at the time. did great damage to the Kingdom of Hungary.
Lovro was a powerful nobleman who acted as an independent ruler on his large estates in Croatia between the Sava and the Drava.
Apart from Lovro Iločki, some other nobles did not respect the king. Furthermore, Lovro did not hate the king himself, but also his supporters: the Croatian and Hungarian bishops and his noble neighbors (Gereb, Banić, Dragić). He disturbed the king's supporters, especially the bishops of Kalocsa and Pecs.
Then the opponents of Lovro Iločki spread a vicious rumor to King Vladislav II. accusing Lovro Iločki of colluding with the Turks and that he was the one who encouraged the Ottomans to march on eastern Croatia in 1494.
Despite great financial problems in the affected areas, the king managed to raise money and an army. At the end of October 1494, it came under Petrovaradin. But instead of attacking the Turks, he surrounded Ilok, the capital of Lovro Ilok.
The king's army was led by the Slavonian nobleman Bartol Dragić, the successor of the Transylvanian duke Stjepan Bator from 1493. The king himself came from Petrovaradin to Bač on November 17 to monitor the siege of the town of Ilok.
Nikola Iločki's widow, Lovro's mother, came to the king to beg for mercy.
An official of Lovro Iločki also came before the king to beg for mercy for Duke Lovro; but the king answered him sarcastically: “Tell your lord that the ox, which he mocked, has grown a horn; in fact, the second horn has already sprouted, it is already growing. That is why I hope that I will soon attack my enemies with two horns, and mercilessly crush them. "
The siege lasted until December 21, 1494, when the king and his army entered Ilok and found a large booty: 3,000 buckets of wine, 300 expensive dresses, and many gold and silver vessels.
After that, the royal army conquered the towns of Lovro Iločki. The titular Serbian despot Djuradj Brankovic took Mitrovica, the duke of Mezerica the town of Sotin near Vukovar, and Petar Gereb himself took the towns of Gorjan and Cerna.
At the beginning of 1495, the king left Ilok with the whole court for Valpovo, where he stayed with another enemy of Lovro Iločki, Petar Gereb, who had just been appointed supreme judge.
From Valpovo, the king went to Virovitica on February 1, 1495, where he remained a guest of Nikola Banic for a month, while his army continued the war on Lovro Iločki. Thus, Petar Gereb captured Bukovica and Drenovac, and Bartol Dragić captured the town of Kaposvár in southern Hungary.
Throughout the king's campaign, Lovro Iločki was in his fortress Ružica in the town at the foot of Orahovica.
In the end, Lovro was forced to come to Pécs and obey the king, and the latter, showing good will and listening to the persuasion of some of his advisers, pardoned him. The dispute was later settled to the end at the State Council in Pest, so in 1496 all property was returned to him, provided that after his death, if he had no male descendants, they belonged to the king.