Andrew Kőszegi

[3] Andrew had an elder brother Nicholas III, both of them were grandsons and heirs of the influential lord Ivan Kőszegi, who had established a province in Western Transdanubia independently of the royal power in the previous decades.

[7] Initially, Andrew remained neutral during the unification war of King Charles I of Hungary against the oligarchs, continuing his brother's policy, who abandoned their grandfather's aggressive anti-royal behavior.

[8] However, soon, Andrew returned to the late Ivan's harsh expansionist policy and plundered his neighbors' landholdings, in order to integrate the some remaining independent lords to his Western Transdanubian province.

[11] When Charles I launched a royal campaign against John and Peter, the late Henry's sons, who governed their province in Southern Transdanubia, Andrew sent his auxiliary troops in order to provide assistance to his second uncles.

[14] When Stefan Uroš II Milutin invaded the Syrmia, Charles I launched a counter-campaign across the river Száva and seized the fortress of Macsó (present-day Mačva, Serbia) in the winter of 1317.

Taking advantage of the king's absent, Andrew Kőszegi attacked the towns of Sopron and Győr, which refused to acknowledge his supremacy, but the burghers successfully repelled the offense with the assistance of the troops of his former familiares, Paul and Lawrence Nagymartoni.

Simultaneously Andrew unsuccessfully besieged Léka and Rohonc (present-day Lockenhaus and Rechnitz in Austria, respectively), the castles of his royalist relative Nicholas II Kőszegi, who also participated in the Serbian campaign.

Andrew's dominion collapsed within months (the details of the clashes are unknown); he surrendered to Charles in the royal camp at Komárom in October 1317 (at that moment, the king besieged Matthew Csák's fortress).

In November 1317, King Frederick instructed Austrian noble and ispán of Sopron County Rudolf von Pottendorf, to suspend attacks against Andrew's landholdings.

Sárvár Castle was the permanent residence of Andrew Kőszegi until his death
The medieval wall of Kőszeg Castle , owned by Andrew Kőszegi