Nicholas (VII) from the kindred Hahót (; died 1359) was a Hungarian baron and soldier, who served as Ban of Slavonia from 1343 to 1346 and from 1353 to 1356; and Ban of Croatia from 1345 to 1346 and from 1353 to 1356. In this capacity, he played a key role in the restoration of the Hungarian suzerainty over Croatia. Also known as Nicholas of Alsólendva (), he was the progenitor of the powerful Bánfi de Alsólendva noble family.

Ancestry Nicholas was born into the Hahold branch of the gens Hahót in the 1290s, as the only son of Stephen I, who was mentioned as ispán of Varaždin County in 1297, and an unidentified daughter of Palatine Denis Péc. Stephen Hahót was a loyal supporter of Andrew III of Hungary, participating in several military campaigns against Austria and the rival Kőszegi family in Transdanubia and Slavonia.

According to the Illuminated Chronicle which was written in the 1350s, when Nicholas' political career reached its peak, the ancestor of the Hahót kindred was a certain German knight Hahold I (Nicholas' great-great-great-grandfather) who was a descendant of the Counts of Weimar-Orlamünde and settled down in the Kingdom of Hungary in 1163 upon the invitation of Stephen III of Hungary to fight against usurper uncle Stephen IV of Hungary and his allies, the Csáks.

Majority of the historians rejected this interpretation. Elemér Mályusz identified the two geographical names with Wartburg and Meissen in Thuringia (Margravate of Meissen), noting that none of them were part of the estates of the House of Weimar-Orlamünde, which ruled Meissen from 1046 to 1067. Endre Tóth tried to reconstruct the origin of the kindred based on the spread of the name Hahold in German-speaking areas. Near Freising, the name was relatively frequently used since the 8th century, in addition, it appeared altogether with the name Arnold in the 13th century, which was also used for four generations in the Hahót kindred. Hahold's theory of origin had a long tradition, as the Illuminated Chronicle only preserved the narrative of the so-called gesta of the age of King Stephen V of Hungary (r. 1270–72), compiled by magister Ákos.

Nicholas' grandfather Hahold IV (fl. 1251–75) already styled himself "lord of Alsólendva" (today Lendava, Slovenia) in 1272, proving that he owned and possibly built the castle himself by then. As ispán of Varaždin County, Stephen represented the royal power in that territory against overwhelming Kőszegi forces in the last years of Andrew III. Following the extinction of the Árpád dynasty in 1301, royal power collapsed and a dozen lords, or "oligarchs", who had by that time achieved de facto independence of the monarch to strengthen their autonomy. One of these oligarchs of the last generation, John Kőszegi besieged and occupied Alsólendva around 1314 (formerly historians János Karácsonyi and Erik Fügedi incorrectly identified Ivan Kőszegi as belligerent and set 1292 for the date of the siege). Whether Stephen was still alive during this act, it is unknown as he disappeared from the sources after 1297, but his son Nicholas was first mentioned by contemporary records only in 1317.

Early career As he participated in the unification war of Charles I of Hungary against the oligarchs according to a royal charter, historian Éva B. Halász considered Nicholas was born in the first half of the 1290s. From 1319 to 1323, he was frequently mentioned as royal squire and royal youth () in the court of Charles, and was called "vir nobilis magister Nicolaus", proving his lackland social status after the Kőszegis' military campaign. A "brave soldier", Nicholas was a loyal supporter of the young king as he could hope the recovery of lost family landholdings and castles only from a successful restoration of the strong royal power by Charles. According to the afore-mentioned royal charter from 1319, Nicholas fought in the war against Stefan Milutin, King of Serbia across the river Sava, when Charles I retook control over Belgrade and seized the fortress of Macsó (today Mačva, Serbia) to restore the Banate of Macsó. For his merits, Nicholas regained Alsólendva Castle and its surrounding villages from Charles I of Hungary in 1323, who, as one of his charters concluded, Charles had taken "full possession" of his kingdom by that year and consolidated the royal supremacy over the whole country. In the same year, Nicholas was referred to ispán (i.e. judge) of the Queen's subjects. As a magistrate, he supervised the recovery and legal arrangement of the queenly estates which were arbitrarily usurped by the provincial lords in the previous decades.

In 1324, Nicholas was made ispán of Zala County. After the collapse of the Kőszegi dominion and restoration of the administrative function, his main task as ispán was to represent the royal authority and to ensure stability and military consolidation at the Western border. He held the dignity for almost twenty years until 1343. Internal peace and increasing royal revenues strengthened the international position of Hungary in the 1320s. On 13 February 1327, Charles and John of Bohemia signed an alliance against the Habsburgs, who had occupied Pressburg (today Bratislava, Slovakia). When Otto the Merry sought assistance and protection from Charles against his own brothers, Frederick the Fair and Albert the Lame, Hungarian and Bohemian troops jointly invaded Austria in the summer of 1228. The Hungarian royal army was led by Stephen Lackfi. Meanwhile, Nicholas Hahót commanded a smaller auxiliary unit into Styria to defeat Ulrich I of Walsee, who had earlier annexed the Muraköz (now Međimurje in Croatia). There Nicholas besieged and seized two castles, Haburne and Pertlstein, but the whole region only returned under Hungarian suzerainty in 1337.

Nicholas was among those appointed noble judges in May 1330, who has ruled over the kindred Záh, which one of notable members, Felician Záh had attempted to assassinate the royal family on 17 April 1330 in Visegrád. Following the trial, several members of the clan were imprisoned, executed or exiled. From 1333 to 1343, Nicholas served as Master of the horse in the queenly court of Elizabeth of Poland, the fourth and last wife of Charles. In the upcoming decade, he was appointed as an ad litem judge in various lawsuits on several occasions, residing permanently in Visegrád, then capital of the Kingdom of Hungary.

Ban of Slavonia and Croatia First term Charles I died on 16 July 1342. His sixteen-year-old Louis I succeeded him, inheriting a centralized kingdom and a rich treasury from Charles. On 18 May 1343, Louis appointed Nicholas Hahót as Ban of Slavonia (his proper title was "Ban of the Whole of Slavonia"), replacing Mikcs Ákos who died in office. According to a royal charter, Nicholas started his journey from Visegrád to Slavonia on the next day. During the appointment, Nicholas was also granted castrum Lenti, a former estate of the disgraced Kőszegis. In the previous decades, Charles unsuccessfully attempted to reinstate royal authority in Croatia and Slavonia. Although the dominion of Mladen II Šubić collapsed in 1322, his strongest rival John Nelipić expanded his dominance over South Croatia. Charles ordered Ban Nicholas Felsőlendvai and Stephen II Kotromanić to launch a joint offensive against Nelipić, but their expedition eventually failed. Years later Felsőlendvai's successor Mikcs Ákos invaded Croatia to subjugate the local lords who had seized the former castles of Mladen Subić without the king's approval, but John Nelipić routed the ban's troops in 1326. Consequently, royal power remained only nominal in Croatia during Charles's reign, while Slavonia was integrated into the royal crown.

John Nelipić ruled almost whole Croatia beyond Mount Gvozd de facto independently from Knin until his death in 1344. Following that Louis ordered Nicholas Hahót to launch a campaign to Croatia in the autumn of 1344 (Nicholas did not issue any diploma from August to November because of his military mandate). His army unhindered marched until the fortress Knin which was defended by Nelipić's widow Vladislava in the name of their minor son and heir John II. Nicholas did not attempt to besiege the castle, instead plundered surrounding lands and villages. Fearing from possibility of a prolonged siege, Vladislava asked for peace and swore allegiance to Louis. The Republic of Venice which took advantage of the Croatian feudal anarchy for decades, and gained control over Split and Nin, acquiring most of the coast from Zrmanja River to the mouth of the Cetina since the 1320s, tried to prevent the Hungarian expansion with diplomatic means. The Venetians persuaded the widow not to hand over Knin to Nicholas' army, while aimed to establish an anti-Hungarian coalition among the Croatian lords and the Dalmatian coastal cities. As a result, Louis personally marched across Bihać to Croatia in July 1345 and forced Vladislava and her son to surrender without any military action took place. Gregory Kurjaković, Count of Corbavia and other Croatian noblemen also yielded to him during his stay in Zagreb. In the name of his king, Nicholas Hahót negotiated with Vladislava on the terms of surrender, when she agreed to hand over four castles. Thus Louis restored royal power in Croatia and pacified the country by the end of 1345.

Since August 1345, Nicholas Hahót styled himself Ban of Slavonia, Croatia and Dalmatia, merging the two positions and extending his influence to the Croatian territories as well to represent the royal authority. This meant the restoration of the dignity of Ban of Croatia, which title was arbitrarily held for decades by the Šubići. Before Nicholas, the last person who served as Ban of Croatia, was John Babonić for a short time in 1322. The last one who was appointed by a Hungarian monarch and had actual function, was Nicholas Gutkeled in 1275. Nicholas Hahót is the only known 14th-century ban, who concluded a chamber rental contract. He issued such a document on 11 November 1344 in Zagreb, when he leased the Slavonian chamber for 300 banovac to five burghers: James, son of Vlfardus from Zagreb, in addition to brothers Nicholas, Raphael and Michael, sons of Paul, and Zuetk, son of Staulen, all four originated from Koprivnica. Nicholas Hahót also signed a contract with them to transmit the banate's share of the collection of taxes for one-year deadline.