Andrew III of Hungary
On 13 February 1296 in Vienna, Agnes married Andrew III of Hungary. Afterwards, with his father-in-law's support, Andrew managed to defeat the revolt of Miklós Kőszegi and Máté Csák III, and occupy the castles of Kőszeg and Pozsony. In 1298 Andrew supported with troops his father-in-law's revolt against King Adolf of Germany.