Ladislaus IV of Hungary
Andrew came to Hungary for the first time in 1278 at the invitation of a powerful lord, Ivan Kőszegi. Kőszegi wanted to play Andrew off against Ladislaus IV of Hungary. Andrew, who was the only male member of the royal family besides the king, adopted the title of "Duke of Slavonia, Dalmatia and Croatia" and marched as far as Lake Balaton. Andrew achieved nothing, however, and went back to Venice in autumn.