possible time about the fall of Patak and capture of his family. As a result, Andrew remained a confidant of Béla IV and Stephen too. Later Queen Elizabeth remembered Andrew's loyalty with a warm heart. Two months later, Stephen's family – or only the two-year-old Ladislaus – was sent to the court of Boleslaw the Chaste, Duke of Cracow, who was Béla IV's son-in-law. Andrew retained his position of ispán of Bánya during the reigns of Stephen V and Ladislaus IV too. In the year of 1273, Ottokar II of Bohemia invaded the northern borderlands of Hungary. The Bohemian army captured, for instance, Nyitra (Nitra), Győr and Szombathely, plundering the western counties. Andrew and his sons successfully defended their castle of Gímes in August 1273, which was besieged by Ottokar's troops after a capture of several other forts and settlements in the region. Following that Andrew and his familiares joined the united army led by Joachim Gutkeled, which successfully recaptured Győr and Szombathely. Personal life Andrew had five sons and two daughters from his marriage with Maria Nánabeszter. The two eldest sons, John and Thomas (III) rose to prominence during the last decades of the 13th century. John entered ecclesiastical career and served as Archbishop of Kalocsa from 1278 to 1301. Thomas was a powerful lord, who held several dignities. Thomas and John closely cooperated with each other during the reign of Andrew III in the 1290s. Another sons were Andrew (II) and Ivánka (III) were skilled soldiers and served faithfully King Andrew III in his campaigns against the oligarchs. Both of them were killed in battles against the powerful rebellious lord Matthew III Csák. Andrew was ancestor of the Forgács (or Forgách) noble family, which still exists and provided several magnates for the Hungarian elite in the following centuries. The youngest son was Nicholas (I), mentioned between 1295 and 1297. Andrew's two daughters were Yolanda and an unidentified one, who married Atyócs of Zólyom and Peter Szikszói, respectively. Andrew was involved in a lawsuit with his sister-in-law, the widow of Thomas over her morning-gift in 1244. Andrew paid 15 silver marks to her. Andrew was last mentioned as a living person in 1277, when traveled to Buda for the dowry of his daughter Yolanda, who was widowed by then. Andrew died sometime after that. The four sons – Thomas, Andrew, Ivánka and Nicholas – divided the lordship of Gímes