His parents were Ladislaus of Ilok, Ban of Macsó, and Anna Stiboriczi, daughter of Stibor of Stiboricz, Voivode of Transylvania.
When King Albert died in 1439, Nicholas supported his widow, Elizabeth of Luxembourg, in her struggle to secure the Holy Crown of Hungary for her son, Ladislaus the Posthumous.
Upon becoming King of Hungary, Vladislaus gave Nicholas and Hunyadi extraordinary powers, appointing them as joint Voivodes of Transylvania.
The opposition was led by Nicholas himself and Palatine Ladislaus II Garay, who asked Holy Roman Emperor Frederick III for support.
[3] He retained his influence throughout the reign of Matthias Corvinus, who created him perpetual ispán of Teočak in 1464, making him only the third person to bear such a title.
Nicholas seems to have been made Ban of Croatia, Slavonia and Dalmatia by early 1472, probably in order to secure his loyalty to the King and to enable him to defend the region against the Ottomans.