Garai Miklós, Croatian: Nikola II Gorjanski; c. 1367 – December 1433) was a powerful Hungarian baron who served as the Palatine of Hungary from 1402 until 1433 and the ban of Macsó, Usora, Só, Slavonia, Croatia and Dalmatia.
[8] He and Stephen Losonci, Ban of Szörény, joined their forces and routed Horváti near Cserög (now Čerević in Serbia), thus restoring the king's authority in the region.
[7][10] He persuaded his father-in-law, Lazar of Serbia, to swear fealty to Sigismund in 1389, according to a royal charter issued almost two decades later.
[12] At his initiative, Sigismund seized Pápa and the fortress of Somló in Transdanubia from Nicholas Zámbó in exchange for royal estates in 1389.
[13] Nicholas soon persuaded the king to grant both domains to him and his brother, John, for their castle at Ivánkaszentgyörgy (Ivankovo, Croatia).
[17] Historian Stanko Andrić proposes that the king promoted Nicholas to the new office most probably after the successful royal campaign against Bosnia in July.
[17] Before the end of the year, Nicholas routed Vuk Vukčić whom Ladislaus of Naples had appointed to represent him as his ban in the two realms.
[18] The king's defeat outraged Stephen II Lackfi, one of the noblemen whom Sigismund had appointed to rule the country during his absence.
[23] The king and Nicholas put an end to the movements of the supporters of Ladislaus of Naples in the Dalmatian towns before hurrying to Križevci.
[10] Another historian, Elemér Mályusz, emphasizes that the exact circumstances of the purge are unknown, but he proposes that John Kanizsai, Archbishop of Esztergom, was most probably its initiator.
[26] Sigismund held a Diet (or legislative assembly) at Temesvár (now Timișoara in Romania) to adopt measures to secure the defense of the southern frontier of the kingdom.
[27] At the Diet, the king granted "the banship of Dalmatia, Croatia and Slavonia together with its appurtenances and income" on 2 November 1397 to Nicholas and John Garai for the rest of their lives.