Nicholas II Garai (Hungarian: II. 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. He also ruled over the Braničevo, Syrmia, Bačka, Banat and Baranya regions through vassals. Together with his close ally Stibor of Stiboricz, he remained one of the richest and most powerful nobles in Hungary for over 30 years. Nicholas II Garai also served as de facto ruler of Hungary next to King Sigismund. In 1416 Sigismund extended their armorial bearings showing the Order of the Dragon and the Order of the Scarf. He presented the patent to his brother-in-law. Nicholas II's first wife was Theodora of Serbia, daughter of Prince Lazar of Serbia. In 1405, he married Anna of Cilli, sister of King Sigismund's second wife, Barbara of Cilli, thereby becoming brother-in-law of the King and Queen of Hungary. His granddaughter Anna was engaged to King Matthias Corvinus.